File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -308,10 +308,14 @@ int main(const int argc, const char *const *const argv) {
308308 return 1 ;
309309 }
310310
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 ;
311+ if (qtMajorVersion >= 6 ) {
312+ ldLog () << std::endl << " -- Note: skipping AppRun hook creation on Qt " << qtMajorVersion << " --" << std::endl;
313+ } else {
314+ 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+ }
315319 }
316320
317321 ldLog () << std::endl << " Done!" << std::endl;
You can’t perform that action at this time.
0 commit comments