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. Macdeployqt erros on mac
Qt 6.11 is out! See what's new in the release blog

Macdeployqt erros on mac

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.1k 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.
  • B Offline
    B Offline
    brucewuu
    wrote on last edited by
    #1

    I created a simple application , see

    @
    #include <QtGui/QtGui>
    int main(int argc,char **argv)
    {
    QApplication app(argc,argv);
    QWidget win;
    win.show();
    return app.exec();
    }

    @
    and build it like this

    @
    qmake -project
    qmake -spec macx-g++
    make
    @

    and get the test1.app , it can run , while I depoly it with macdeployqt test1.app/ verbose=1 -dmg , the errors happened , see

    @
    ERROR: to "test1.app/Contents/PlugIns/imageformats/libqico.dylib"
    ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqjpeg.dylib"
    ERROR: to "test1.app/Contents/PlugIns/imageformats/libqjpeg.dylib"
    ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqmng.dylib"
    ERROR: to "test1.app/Contents/PlugIns/imageformats/libqmng.dylib"
    ERROR: file copy failed from "/Developer/Applications/Qt/plugins/imageformats/libqtiff.dylib"
    ERROR: to "test1.app/Contents/PlugIns/imageformats/libqtiff.dylib"
    ERROR: file copy failed from "/Developer/Applications/Qt/plugins/qmltooling/libtcpserver.dylib"
    ERROR: to "test1.app/Contents/PlugIns/qmltooling/libtcpserver.dylib"
    WARNING:
    WARNING: "test1.app/Contents/Resources/qt.conf" already exists, will not overwrite.
    WARNING: To make sure the plugins are loaded from the correct location,
    WARNING: please make sure qt.conf contains the following lines:
    WARNING: [Paths]
    WARNING: Plugins = PlugIns
    @

    is there any problems with the using of qmake and macdeployqt I used , anyone could help me and tell me how to deploy applications on mac ? thanks very much

    [EDIT: code formatting, Volker]

    wish all the best to you from
    bruce wuu
    Autodesk China Inc.
    SW Developer
    M&E Product Developerment Group
    Work 137 6411 8921
    bruce.wu@autodesk.com

    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