diff --git a/src/main.cpp b/src/main.cpp index e883adf..9ef9cbb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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");