We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d15373b commit 2ce7985Copy full SHA for 2ce7985
src/deployment.h
@@ -110,7 +110,12 @@ inline bool createAppRunHook(appdir::AppDir &appDir) {
110
<< " *GNOME*|*gnome*|*XFCE*)" << std::endl
111
<< " export QT_QPA_PLATFORMTHEME=" << (haveGtk3 ? "gtk3" : "gtk2") << std::endl
112
<< " ;;" << std::endl
113
- << "esac" << std::endl;
+ << "esac" << std::endl
114
+ << std::endl
115
+ << "# Override QT_PLUGIN_PATH to fall back to defaults. NixOS sets QT_PLUGIN_PATH," << std::endl
116
+ << "# which causes AppImages with Qt to try and load system Qt plugins." << std::endl
117
+ << "# This usually fails due to the mismatched Qt versions." << std::endl
118
+ << "unset QT_PLUGIN_PATH" << std::endl;
119
120
return true;
121
}
0 commit comments