Macdeployqt erros on mac
-
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
3qmake -project
qmake -spec macx-g++
makeand 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
15ERROR: 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 = PlugInsis 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
-
Closed this thread, it is a duplicate of http://developer.qt.nokia.com/forums/viewthread/7404/