diff --git a/lib/cmake-scripts b/lib/cmake-scripts index 21bd317..df32987 160000 --- a/lib/cmake-scripts +++ b/lib/cmake-scripts @@ -1 +1 @@ -Subproject commit 21bd317812e44f7ed925f3f3bffcb7136c30ae74 +Subproject commit df329871d82b9bbce76419aea59f595078dee024 diff --git a/lib/linuxdeploy b/lib/linuxdeploy index 160c700..cc7b864 160000 --- a/lib/linuxdeploy +++ b/lib/linuxdeploy @@ -1 +1 @@ -Subproject commit 160c7007137c54cd6c5d6af3f7f951f18cda08af +Subproject commit cc7b86472c3caa3fd729b9dc502fd2aa78394257 diff --git a/src/main.cpp b/src/main.cpp index 04683d9..8092a05 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -308,10 +308,14 @@ int main(const int argc, const char *const *const argv) { return 1; } - ldLog() << std::endl << "-- Creating AppRun hook --" << std::endl; - if (!createAppRunHook(appDir)) { - ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl; - 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; + if (!createAppRunHook(appDir)) { + ldLog() << LD_ERROR << "Failed to create AppRun hook in AppDir" << std::endl; + return 1; + } } ldLog() << std::endl << "Done!" << std::endl;