Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unexpected result of CMake Install
Forum Updated to NodeBB v4.3 + New Features

Unexpected result of CMake Install

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 189 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by Perdrix
    #1

    I built for a MacOS target using CMake.

    On completion of the build, I see an executable that runs:

    amonra@Saturn MacOS % pwd
    /Users/amonra/.vs/DSS/out/build/DeepSkyStacker/DeepSkyStacker.app/Contents/MacOS
    amonra@Saturn MacOS % ls -l
    total 50320
    -rwxr-xr-x@ 1 amonra  staff  25762480 19 Apr 13:20 DeepSkyStacker
    amonra@Saturn MacOS % ./DeepSkyStacker 
    2025-04-19T12-23-11Z
    Loading translator file [ "qt_en_GB" ] from path:  "/opt/Qt/6.8.2/macos/translations"
     *** Failed to install translator for file [ "qt_en_GB" ]
    Loading translator file [ "DeepSkyStacker_en_GB" ] from path:  ":/i18n/"
    Loading translator file [ "DeepSkyStackerKernel_en_GB" ] from path:  ":/i18n/"
    CPU Type: Apple M4
    Physical Cores: 10
    Logical Cores: 10
    amonra@Saturn MacOS %
    

    If I then run the install, I get this in the log:

    [62/63] Install the project...
    -- Install configuration: "Debug"
    -- Running Qt deploy tool for /Users/amonra/.vs/DSS/out/build/DeepSkyStacker/DeepSkyStacker.app in working directory '/Users/amonra/.vs/DSS/Darwin/arm64/Debug'
    '/opt/Qt/6.8.2/macos/bin/macdeployqt' '/Users/amonra/.vs/DSS/out/build/DeepSkyStacker/DeepSkyStacker.app' '-appstore-compliant' '-always-overwrite' '-hardened-runtime'
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/MacOS
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/platforminputcontexts
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/platforminputcontexts/libqtvirtualkeyboardplugin.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/platforms
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/platforms/libqcocoa.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/styles
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/styles/libqmacstyle.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/tls
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/tls/libqsecuretransportbackend.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/tls/libqopensslbackend.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/tls/libqcertonlybackend.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/iconengines
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/iconengines/libqsvgicon.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqgif.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqwbmp.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqwebp.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqico.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqmacheif.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqjpeg.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqtiff.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqicns.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqtga.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/imageformats/libqmacjp2.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/networkinformation
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/PlugIns/networkinformation/libqscnetworkreachability.dylib
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Resources/qt.conf
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/A/QtQmlMeta
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlMeta.framework/QtQmlMeta
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtGui.framework/QtGui
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/A/QtDBus
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtDBus.framework/QtDBus
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/libomp.dylib
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/A/QtQuick
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQuick.framework/QtQuick
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/A/QtCore
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtCore.framework/QtCore
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/QtQml
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/A/QtQml
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQml.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/QtQmlWorkerScript
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/A/QtQmlWorkerScript
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlWorkerScript.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/A/QtVirtualKeyboard
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtVirtualKeyboard.framework/QtVirtualKeyboard
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/QtOpenGL
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/A/QtOpenGL
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtOpenGL.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/A/Resources/Info.plist
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/A/QtWidgets
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtWidgets.framework/QtWidgets
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/QtNetwork
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/A/QtNetwork
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtNetwork.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/QtSvg
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/A/QtSvg
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtSvg.framework/Versions/Current
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/QtQmlModels
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Resources
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/A
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/A/QtQmlModels
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/A/Resources
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/A/Resources/PrivacyInfo.xcprivacy
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/A/Resources/Info.plist
    -- Up-to-date: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Frameworks/QtQmlModels.framework/Versions/Current
    error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker (for architecture arm64) option "-add_rpath @executable_path/../Frameworks" would duplicate path, file already has LC_RPATH for: @executable_path/../Frameworks
    error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: no LC_RPATH load command with path: /opt/Qt/6.8.2/macos/lib found in: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker (for architecture arm64), required for specified option "-delete_rpath /opt/Qt/6.8.2/macos/lib"
    -- Installing: /Users/amonra/.vs/DSS/Darwin/arm64/Debug/./DeepSkyStacker.app/Contents/Info.plist
    

    and then find that build directory has a different size of executable that fails when I try to run it:

    amonra@Saturn MacOS % ls -l
    total 35544
    -rwxr-xr-x@ 1 amonra  staff  18195904 19 Apr 13:24 DeepSkyStacker
    amonra@Saturn MacOS % 
    amonra@Saturn MacOS % ./DeepSkyStacker 
    zsh: killed     ./DeepSkyStacker
    amonra@Saturn MacOS % 
    

    The crash report says::

    -------------------------------------
    Translated Report (Full Report Below)
    -------------------------------------
    
    Process:               DeepSkyStacker [7131]
    Path:                  /Users/USER/*/DeepSkyStacker.app/Contents/MacOS/DeepSkyStacker
    Identifier:            com.yourcompany.DeepSkyStacker
    Version:               6.1 (6.1.0)
    Code Type:             ARM-64 (Native)
    Parent Process:        zsh [1810]
    Responsible:           Terminal [1806]
    User ID:               501
    
    Date/Time:             2025-04-19 13:28:51.1102 +0100
    OS Version:            macOS 15.4.1 (24E263)
    Report Version:        12
    Anonymous UUID:        0FF6C704-6753-4499-FB24-98B69528FDE2
    
    
    Time Awake Since Boot: 1000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0
    
    Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
    Exception Codes:       UNKNOWN_0x32 at 0x0000000101874000
    Exception Codes:       0x0000000000000032, 0x0000000101874000
    

    I could perhaps understand the output directory for the install containing an executable that wouldn't work because of not having code signing, but not the input directory?

    1 Reply Last reply
    0
    • FeRDNYCF Offline
      FeRDNYCF Offline
      FeRDNYC
      wrote last edited by FeRDNYC
      #2

      I don't do much development on macOS, but AIUI the reason the deploy tool is run on the files in the build dir is that you're not expected to install them. (Not using CMake, anyway.)

      If you look at the docs on macOS deployment using CMake, they say:

      To build for Apple platforms you need to set cmake_minimum_required() to 3.21.1 or newer:

      cmake_minimum_required(VERSION 3.21.1)
      

      Go into the directory that contains the application:

      cd /path/to/Qt/examples/widgets/tools/plugandpaint/app
      

      Next, set the CMAKE_PREFIX_PATH variable to point to your installation prefix. If you have a Cmake build already, delete the CMakeCache.txt file. Then, rerun CMake:

      cmake -DCMAKE_PREFIX_PATH=path/to/Qt/6.9.1/your_platform 
      -S <source-dir> -B <build-dir> -G Ninja
      

      Alternatively, use the convenience script qt-cmake, which sets the CMAKE_PREFIX_PATH variable for you.

      path/to/Qt/6.9.1/your_platform/bin/qt-cmake 
      -S <source-dir> -B <build-dir> -G Ninja
      

      Finally, go into your build directory and run your preferred build system. In this example, we're using Ninja.

      cd path/to/build/dir
      ninja
      

      Now, provided that everything compiled and linked without any errors, you should have a plugandpaint.app bundle ready for deployment. Try installing the bundle on a machine running macOS that does not have Qt or any Qt applications installed.

      So, the application bundle in the build directory is the one processed by macdeployqt (which you can see is the case in your own CMake output as well), on the assumption that after it's been made self-contained and code-signed, it's ready for deployment using standard macOS means (.dmg files and drag-and-drop installation).

      Update

      I've decided I'm wrong about some of this, because the deployment tools only run on install(). Qt's CMake deployment docs mention, for Qt Quick applications:

      You install the application as before.

      install(TARGETS MyApp
          BUNDLE  DESTINATION .
          RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
      )
      

      To generate the deployment script, you call qt_generate_deploy_qml_app_script() instead of qt_generate_deploy_app_script().

      qt_generate_deploy_qml_app_script(
          TARGET MyApp
          OUTPUT_SCRIPT deploy_script
      )
      install(SCRIPT ${deploy_script})
      

      On installation, the application binary will be deployed, including the QML files and the shared libraries and assets of Qt that are used by the project. Again, the resulting directory is self-contained and can be packaged by tools like cpack.

      It might be worth looking at the generated cmake_install.cmake in the bundle's build directory, to see what it's doing? That file will be created immediately after configuration, you don't even need to run the build to examine it.

      1 Reply Last reply
      0
      • FeRDNYCF Offline
        FeRDNYCF Offline
        FeRDNYC
        wrote last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • FeRDNYCF Offline
          FeRDNYCF Offline
          FeRDNYC
          wrote last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved