1
0
Fork 0

[Launcher] Tried fix for Platform Plugin.

This commit is contained in:
Kitteh 2018-10-31 10:56:05 +00:00
parent 3cb50f57fe
commit 84333be48e

View file

@ -18,7 +18,11 @@
int main( int argc, char *argv[] ) 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); setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1);
QApplication app(argc, argv); QApplication app(argc, argv);
app.setOrganizationName("KittehPlayer"); app.setOrganizationName("KittehPlayer");