PDA

View Full Version : Deploying Qt Application on Mac?



vishal.chauhan
30th March 2007, 08:25
Hi All,

I m using Qt 4.2.2 on my Intel Mac.

I have made a Project in Qt.
I have deploy the projects on both power pc and Intel and the project is running well on the system which have Qt Installed but If I run my application on the System which donot have Qt Installed it is not running and the following error I got..

dyld: Library not loaded: QtGui.framework/Versions/4/QtGui

If any body knows the Issue then plz help me.

Thanks.

patrik08
30th March 2007, 10:01
Hi All,

I m using Qt 4.2.2 on my Intel Mac.

I have made a Project in Qt.
I have deploy the projects on both power pc and Intel and the project is running well on the system which have Qt Installed but If I run my application on the System which donot have Qt Installed it is not running and the following error I got..

dyld: Library not loaded: QtGui.framework/Versions/4/QtGui

If any body knows the Issue then plz help me.

Thanks.

can you post your configure file .... on /Developer/qtdir/ .configure.status or so a name.... wo inside have your configure option.....

&& Xcode version....

I say the last qt release have problem on mac. normaly i compile only -static release on my mac... like http://wiki.qtcentre.org/index.php?title=Installing_Qt4_on_Mac_OS_X but i discovery a way and i rewrite a script to make no static build...
http://qtnode.net/wiki/Distributing_Mac_Qt_applications and now i dont have problem...

&& if you compile only on Xcode ... all debug action is readable...

basicly this here help to load all libs.....
http://qtnode.net/wiki/Distributing_Mac_Qt_applications

vishal.chauhan
30th March 2007, 10:40
Thanks for Reply.

Actually I m using XCode Version 2.4.1 and binary version of qt 4.2.2.