Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  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 General and Desktop
2 Posts 2 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

    1
    2
    3
    4
    5
    6
    7
    8

    #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

    1
    2
    3

    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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    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

    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
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      Closed this thread, it is a duplicate of http://developer.qt.nokia.com/forums/viewthread/7404/

      http://www.catb.org/~esr/faqs/smart-questions.html

      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