We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0cb921 commit 3d1fb64Copy full SHA for 3d1fb64
1 file changed
src/main.cpp
@@ -308,10 +308,14 @@ int main(const int argc, const char *const *const argv) {
308
return 1;
309
}
310
311
- ldLog() << std::endl << "-- Creating AppRun hook --" << std::endl;
312
- if (!createAppRunHook(appDir)) {
313
- ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl;
314
- 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;
315
+ if (!createAppRunHook(appDir)) {
316
+ ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl;
317
+ return 1;
318
+ }
319
320
321
ldLog() << std::endl << "Done!" << std::endl;
0 commit comments