-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Oct 21, 2010 (Thursday), at 9:36 PM, Clinton Stimpson wrote: > > Did you add a qt.conf file to your application bundle? > If not, QtCore will first look for plugins using hard coded paths built into > the library. If they are found at the hard coded paths, those are used > instead of the plugins in your application bundle. sure. rimmer:release-bundle pvanek$ cat foo.app/Contents/Resources/qt.conf [Paths] Plugins = plugins and plugins are in the foo.app/Contents/plugins in the structure as qt4 requires > > Clint > > On Thursday, October 21, 2010 01:20:11 pm Petr Vanek wrote: >> hi all, >> >> I have an app which I'm trying to bundle with BundleUtilities. It looks >> like everything is copied into its place. Otool -L shows that every >> external ib is prefixed with @executable_path including qt4 frameworks and >> qt4 plugins. >> >> Qt4 is built as a "intel universal (i386;x86_64)" >> >> When I try to run the app I'm getting famous "Class QMacSoundDelegate is >> implemented in both..." for all Qt4 image plugins. DYLD_PRINT_LIBRARIES=1 >> output: >> >> dyld: loaded: /opt/local/libexec/qt4-mac/plugins/imageformats/libqgif.dylib >> dyld: loaded: >> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui dyld: >> loaded: /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore >> dyld: loaded: /opt/local/lib/libz.1.dylib >> dyld: loaded: /opt/local/lib/libpng12.0.dylib >> objc[94052]: Class QCocoaColorPanelDelegate is implemented in both >> /Users/pvanek/oss/juffed/release-bundle/juffed.app/Contents/./MacOS/../Fra >> meworks/QtGui.framework/Versions/4/QtGui and >> /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui. One of >> the two will be used. Which one is undefined. etc. >> >> if I try to lookup the libqgif.dylib in the bundle, only this can be found. >> >> rimmer:release-bundle pvanek$ find . -type f|xargs otool -L|grep libqgif >> ./juffed.app/Contents/plugins/imageformats/libqgif.dylib: >> @executable_path/../MacOS/libqgif.dylib (compatibility version >> 0.0.0, current version 0.0.0) >> >> what could be the reason? >> >> all the best, >> petr vanek >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/listinfo/cmake -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMwJjrAAoJEC8yRjM4uE2tCA4H/jrfY5mDCG7SLbBdFxCK2kjS vWL3OkSRVAXx4PwQihOAvw4ImU1EtaD+mi0V9uDf9drJy8UVQ5I1N5d6OTQi1j08 gRuYn9tWYhTKGKq9BWgpics1Ls3mm8VZu6Vr3jweVaEBqeZE/LFepuq0oALWRQ9E 1DFRxMgOlDBxlaZU+bGeDzp1e5PHQPstO9qVEnHEKQp1hQd3PcBTaaLBYPiDQmpA quiei+AfVdy3kghJmCKGZmsxOqDkrZMrxIbgdhiJNnkDDhiL4t2jQ+l5cLXuiWDb 7f4dLthq0lu4bresEewEMegi/3q6ERytvllKIxMPpeCNCVsNOyNfJ0j9xjiIeOk= =cC+2 -----END PGP SIGNATURE----- _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
