Hi,
I am having problems using fixup_bundle with qt plugins
I use that code
install(CODE "
# glob for previously installed qt plugins to include in fixup_bundle
file(GLOB_RECURSE QTPLUGINS
\"${${TARGET_NAME}_OUTPUTPLUGINSDIR}/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")
include(BundleUtilities)
fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\")"
)
where \"${${TARGET_NAME}_OUTPUTPLUGINSDIR} points to myapp.app/Contents/Plugins
so inside it I have that myapp.app/Contents/Plugins/imageformats/ ...
The fixup_bundle scripts corrects those files correctly but my big problem is
that it copies the corrected files in that myapp.app/Contents/MacOS
My first question is why???
And the most important question is can I make it so that It corrects the dylibs
but does not move them?
The problem with copying files is that now imageformats dylibs are directly in
MacOS and so no way to make qt load them at startup.
Thanks
Martin
_______________________________________________
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