[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Does anyone know how to fix this piece of shit Qt theme? I am

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 5

File: Screenshot_20160824_001907.png (81KB, 875x688px) Image search: [Google]
Screenshot_20160824_001907.png
81KB, 875x688px
Does anyone know how to fix this piece of shit Qt theme? I am a developer so I can modify code too.

Left needs to look like right, but it does not, because it is run as a superuser.
>>
>>56232688
Run your qtconfig, systemsettings or what have you as superuser and adjust. Alternatively, copy your qt settings from user home to /root.
>>
QT_STYLE_OVERRIDE="breeze"

QT5 is a piece of shit that has no config file that it honors outside of the kde settings daemon. i remember trying to run kate under a plain openbox session and getting annoyed that there was no way to set the style and font without either running the kde daemon or forcing the style with an env var
>>
>>56232724
It ignores qtconfig completely. This is also the case on GNOME, KDE and Xfce. Where are Qt configs in ~/.config? Is it ~/.config/QtProject* ?
>>
File: Screenshot_20160824_003016.png (156KB, 1107x592px) Image search: [Google]
Screenshot_20160824_003016.png
156KB, 1107x592px
>>56232745

Qt says no.
>>
>>56232773
you didn't export
>>
File: Screenshot_20160824_003450.png (146KB, 1020x537px) Image search: [Google]
Screenshot_20160824_003450.png
146KB, 1020x537px
>>56232786

Qt says no.
>>
File: comparison.png (146KB, 1435x868px) Image search: [Google]
comparison.png
146KB, 1435x868px
You have some options:
- Try gksudo or gksu instead of "sudo", they set some extra environment variables.

- Run your theme configuration application as sudo and set root's theme to match your user's.

- Edit your sudoers file to export/not change the original XDG_CONFIG_HOME / HOME environment variables.
>>
>>56232841
Want some fun? Use su instead of sudo
>>
>>56233538
gksudo is deprecated use pkexec
>>
File: env.png (25KB, 1179x179px) Image search: [Google]
env.png
25KB, 1179x179px
>>56232688
Hi, if it's kubuntu it's a known bug but is easy to fix:
https://bugs.kde.org/show_bug.cgi?id=353263

>Jason, as workaround you can create a file named /etc/sudoers.d/workaround_kde5 :
>Defaults env_keep += "KDE_SESSION_VERSION KDE_FULL_SESSION"
>I have no idea why those variables are now needed…

good luck
>>
this is a qt 5.7 bug

check out qt5cnf
Thread posts: 12
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.