We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5291e commit d13f067Copy full SHA for d13f067
1 file changed
src/main.cpp
@@ -302,10 +302,14 @@ int main(const int argc, const char *const *const argv) {
302
return 1;
303
}
304
305
- ldLog() << std::endl << "-- Creating AppRun hook --" << std::endl;
306
- if (!createAppRunHook(appDir)) {
307
- ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl;
308
- return 1;
+ if (qtMajorVersion >= 6) {
+ ldLog() << std::endl << "-- Note: skipping AppRun hook creation on Qt " << qtMajorVersion << " --" << std::endl;
+ } else {
+ ldLog() << std::endl << "-- Creating AppRun hook --" << std::endl;
309
+ if (!createAppRunHook(appDir)) {
310
+ ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl;
311
+ return 1;
312
+ }
313
314
315
ldLog() << std::endl << "Done!" << std::endl;
0 commit comments