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. App bundle not work after executing macdeployqt
Forum Updated to NodeBB v4.3 + New Features

App bundle not work after executing macdeployqt

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 31 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.
  • Hafiz Sikander RafiqH Offline
    Hafiz Sikander RafiqH Offline
    Hafiz Sikander Rafiq
    wrote last edited by
    #1

    Hi,
    I am creating Qt application installer for Windows and Mac ventura using QT Installer Framework. I have successfully created Qt application installer for Windows using QT Installer framework and it works fine on Windows 10 and 11.

    Now I am creating Qt application installer for macOS using QT installer framework. After executing macdeployqt/macdeployqt6, app bundlle not work (i.e. application under macOS folder not work) and I am getting an error.

    When I run the following otool command, I get these ref paths which looks fine. It contains all libs under Frameworks.

    otool -L inspirationalclips.app/Contents/MacOS/inspirationalclips

    inspirationalclips.app/Contents/MacOS/inspirationalclips:

    @rpath/QtMultimediaWidgets.framework/Versions/A/QtMultimediaWidgets (compatibility version 6.0.0, current version 6.9.1)
    @rpath/QtWidgets.framework/Versions/A/QtWidgets (compatibility version 6.0.0, current version 6.9.1)
    @rpath/QtMultimedia.framework/Versions/A/QtMultimedia (compatibility version 6.0.0, current version 6.9.1)
    @rpath/QtGui.framework/Versions/A/QtGui (compatibility version 6.0.0, current version 6.9.1)

    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2487.30.104)
    /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/Metal.framework/Versions/A/Metal (compatibility version 1.0.0, current version 341.35.0)

    @rpath/QtNetwork.framework/Versions/A/QtNetwork (compatibility version 6.0.0, current version 6.9.1)
    @rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.9.1)

    /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
    /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers (compatibility version 1.0.0, current version 709.0.0)
    /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)

    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)

    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)

    I am using QT 6.9.1 and latest Qt installer framework.

    Please help me to fix this problem.

    Thanks,
    Sikander

    1 Reply Last reply
    0
    • Hafiz Sikander RafiqH Offline
      Hafiz Sikander RafiqH Offline
      Hafiz Sikander Rafiq
      wrote last edited by
      #2

      QT Installer framework is 4.10 for mac is used.

      1 Reply Last reply
      0
      • Hafiz Sikander RafiqH Offline
        Hafiz Sikander RafiqH Offline
        Hafiz Sikander Rafiq
        wrote last edited by
        #3

        Though I have not signed the app yet, but I think app bundle should work properly and not give an error.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by SGaist
          #4

          Hi and welcome to devnet,
          Which exact error are you getting ?
          And yes, not signing your application can trigger issues since macOS is pretty protective in that regard (signature + notarization).

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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