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 @@ -302,10 +302,14 @@ int main(const int argc, const char *const *const argv) {
302302 return 1 ;
303303 }
304304
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 ;
305+ if (qtMajorVersion >= 6 ) {
306+ ldLog () << std::endl << " -- Note: skipping AppRun hook creation on Qt " << qtMajorVersion << " --" << std::endl;
307+ } else {
308+ 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+ }
309313 }
310314
311315 ldLog () << std::endl << " Done!" << std::endl;
You can’t perform that action at this time.
0 commit comments