[Launcher] Tried fix for Platform Plugin.
This commit is contained in:
parent
3cb50f57fe
commit
84333be48e
|
@ -18,7 +18,11 @@
|
|||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
setenv("QT_QPA_PLATFORMTHEME", "gtk3", 0);
|
||||
#ifdef WINDOWS
|
||||
setenv("QT_QPA_PLATFORM_PLUGIN_PATH", "plugins\platforms", 0)
|
||||
#else
|
||||
setenv("QT_QPA_PLATFORMTHEME", "gtk3", 0);
|
||||
#endif
|
||||
setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1);
|
||||
QApplication app(argc, argv);
|
||||
app.setOrganizationName("KittehPlayer");
|
||||
|
|
Loading…
Reference in a new issue