Re: [CMake] macosx fix bundle problems

2009-09-19 Thread Petr Vaněk
Dne čtvrtek 10 Září 2009 16:58:40 Clinton Stimpson napsal(a): > Plugins should have a directory structure and the libraries end with > .dylib. So something like that .bundle extension is standard in the Macports version of Qt. > plugins/accessible/libqtaccessiblecompatwidgets.dylib > plugins/acc

Re: [CMake] macosx fix bundle problems

2009-09-10 Thread Clinton Stimpson
The Qt plugins don't look right. If you haven't seen it already Plugins should have a directory structure and the libraries end with .dylib. So something like plugins/accessible/libqtaccessiblecompatwidgets.dylib plugins/accessible/libqtaccessib

Re: [CMake] macosx fix bundle problems

2009-09-10 Thread Petr Vanek
cool, thanks. It's working now. I had to play with order of the steps in install procedure. Something should go before fix_bundle call, something after. But plugins are packed together and contains correct (otool -L) paths. But - all plugins are stored in my.app/Contents/MacOS dir and aren'

Re: [CMake] macosx fix bundle problems

2009-09-09 Thread Clinton Stimpson
To install Qt plugins you can do something like the following. You can tweak the regex to pick which plugins you want. # include Qt plugins install(DIRECTORY ${QT_PLUGINS_DIR} DESTINATION ${CMAKE_INSTALL_BINARY_DIR} COMPONENT Runtime REGEX "(.debug|d4.dll|designer|.exp|.

Re: [CMake] macosx fix bundle problems

2009-09-09 Thread Petr Vanek
yup. The reaso was really in splitted CMakeListst.txt files. It looks like app is "fixed" now - from otool -L point of view. Of course it required more tweaking - add and empty qt.conf to prevent duplication of libs/frameworks etc. But it's much more clearer now. BTW is there any script/tem

Re: [CMake] macosx fix bundle problems

2009-09-08 Thread David Cole
These lines of output near the beginning: -- warning: *NOT* handled - .app directory case... -- error: fixup_bundle: not a valid bundle ...indicate that fixup_bundle is not getting a .app bundle as its input... The assumption made by fixup_bundle is that there is an executable in the .app/Content

[CMake] macosx fix bundle problems

2009-09-05 Thread Petr Vanek
hi all, I have a Qt4 application with bundle build support taken from cmake wiki example. When I run "deploy" phase with make install, the correct structure is created in CMAKE_INSTALL_PREFIX. But it looks like cmake's fixup_bundle function from BundleUtilities does its job only partial