Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Two versions of Qt binaries found

$
0
0
I want to deploy my application using Qt 4.8.6 on Mac OS X 10.10. I used macdeployqt to integrate the Qt framework into my .app package and build a .dmg image. I checked every dependency (yes, also of the Qt-framework itself) with “otool -L” and all are pointing to the relative Qt binaries integrated into the package: @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.6) @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.6) Still I get multiple errors of this kind: Class QCocoaColorPanelDelegate is implemented in both pathToApp/Contents/Frameworks/QtGui.framework/Versions/4/QtGui and /Library/Frameworks/QtGui.framework/Versions/4/QtGui. One of the two will be used. Which one is undefined. When I copy the app to another Mac that hasn’t got Qt installed it runs just fine. Therefore, there can’t be any references to the system binaries of Qt since it wouldn’t run. I also tried setting the dependencies manually with install_name_tool but with the same results. There is an ancient thread [qt-project.org] that describes the same issue but doesn’t provide a solution that would help me.

Viewing all articles
Browse latest Browse all 2113

Trending Articles