[Development] Puzzled by desktop development priorities, Mac OS specifically [Warning: Rant]

Ziller Eike Eike.Ziller at digia.com
Mon Oct 21 10:05:05 CEST 2013

On 20.10.2013, at 21:34, qtnext <qtnext at gmail.com> wrote:

> I use now Qt5.1.1, try to erase all Qt4 lib in my mac .. And I have always the same trouble. When I start macdeploy with verbose=2, I have the following error : 
> ....
> ERROR: no file at "/Library/Frameworks/QtScript.framework/Versions/4/QtScript" 
> ERROR: no file at "/Library/Frameworks/QtCore.framework/Versions/4/QtCore" 
> ERROR: no file at "/Library/Frameworks/QtSvg.framework/Versions/4/QtSvg" 
> ERROR: no file at "/Library/Frameworks/QtGui.framework/Versions/4/QtGui" 
> ERROR: no file at "/Library/Frameworks/QtXml.framework/Versions/4/QtXml" 
> ERROR: no file at "/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork" 
> ....
> Log: Deploying Qt frameworks found inside: ("myapp.app/Contents/PlugIns/sqldrivers/libqsqlmysql.dylib") 
> ERROR: no file at "/usr/lib/libmysqlclient.18.dylib" 

macdeployqt scans the binary of your application (and any dynamic lib it finds in the bundle) with "otool -L" and tries to extract the Qt location from there. The above means that it finds some binary or dylib in the application bundle that is linked against Qt4. The verbose log should give you a hint of where that is found in.

> -> When I try to launch the apps after, it crash and I have the following message :
> "
> Crashed Thread:  0
> Exception Codes: 0x0000000000000002, 0x0000000000000000
> Application Specific Information:
> dyld: launch, loading dependent libraries
> Dyld Error Message:
>   Symbol not found: __ZN7QObject13connectNotifyEPKc
>   Referenced from: /Volumes/VOLUME/*/myapp.app/Contents/MacOS/../Frameworks/libModuloMediaLib.1.dylib
>   Expected in: /Volumes/VOLUME/*/myapp.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/5/QtCore
> "
> The strange things is I have to other application, one very small (qtwidget based) and one C++/Quick2 that is working fine

> when I remove the // with scripts.

What do you mean with that?

Br, Eike

Eike Ziller, Senior Software Engineer - Digia, Qt
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Development mailing list