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. [solved] macdeployqt for Qt5 not working
Qt 6.11 is out! See what's new in the release blog

[solved] macdeployqt for Qt5 not working

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 3.8k Views 1 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.
  • M Offline
    M Offline
    miketopen
    wrote on last edited by
    #1

    Hi All,

    I tried to deploy my application with the macdeployqt program, and I was running in the following problem:

    @
    bash-3.2$ sudo /Users/mike/src/qt5/qtbase/bin/macdeployqt tlab.app
    ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/platforms/libqcocoa.dylib"
    ERROR: to "tlab.app/Contents/PlugIns/platforms/libqcocoa.dylib"
    ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/printsupport/libcocoaprintersupport.dylib"
    ERROR: to "tlab.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib"
    ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/accessible/libqtaccessiblewidgets.dylib"
    ERROR: to "tlab.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib"
    ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/accessible/libqtaccessiblequick.dylib"
    ERROR: to "tlab.app/Contents/PlugIns/accessible/libqtaccessiblequick.dylib"
    @

    After a quick search, I found "this closed bug report":https://bugreports.qt-project.org/browse/QTBUG-23959 with a pointer to the "this":https://bugreports.qt-project.org/browse/QTBUG-14699 "solution". But for it is not working because I need the plugins, if I use the deploy tool without he is complaining not to have the cocoa plugin by printing out this:

    @
    Failed to load platform plugin "cocoa".
    @

    Any suggestion?

    Thanks Mike

    www.topen.org

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Please try new version of the tool made by Ivan: "link":https://codereview.qt-project.org/#change,47906. If all goes well, it will become part of Qt in 5.1 or 5.2.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        miketopen
        wrote on last edited by
        #3

        Wonderful,

        After git fetch and a build I tested it and it was working directly.

        Thanks a lot

         Mike
        

        www.topen.org

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Great. Hopefully your comment will seed up the inclusion of this change into upstream Qt.

          (Z(:^

          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