diff --git a/admin/osx/CMakeLists.txt b/admin/osx/CMakeLists.txt index 7976fafa18..75e0abfc27 100644 --- a/admin/osx/CMakeLists.txt +++ b/admin/osx/CMakeLists.txt @@ -11,6 +11,7 @@ else() set(MAC_INSTALLER_DO_CUSTOM_BACKGROUND "0") endif() +find_package(Qt5 5.6 COMPONENTS Core REQUIRED) configure_file(create_mac_pkg.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/create_mac.sh) configure_file(macosx.pkgproj ${CMAKE_CURRENT_BINARY_DIR}/macosx.pkgproj) configure_file(pre_install.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/pre_install.sh) diff --git a/admin/osx/create_mac_pkg.sh.cmake b/admin/osx/create_mac_pkg.sh.cmake index 90e8715872..40b3e5796a 100755 --- a/admin/osx/create_mac_pkg.sh.cmake +++ b/admin/osx/create_mac_pkg.sh.cmake @@ -23,7 +23,7 @@ identity="$3" prjfile=$build_path/admin/osx/macosx.pkgproj # The name of the installer package -installer="@APPLICATION_SHORTNAME@-@MIRALL_VERSION_FULL@@MIRALL_VERSION_SUFFIX@" +installer="@APPLICATION_SHORTNAME@-qt@Qt5Core_VERSION@-@MIRALL_VERSION_FULL@@MIRALL_VERSION_SUFFIX@" installer_file="$installer.pkg" installer_file_tar="$installer.pkg.tar" installer_file_tar_bz2="$installer.pkg.tar.bz2"