Commit c00b0ad2 authored by Jan Möbius's avatar Jan Möbius
Browse files

Include qt plugins into Bundle on MacOS

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4aecb7e7
......@@ -247,9 +247,8 @@ if ( APPLE )
acg_copy_after_build( OpenFlipper "/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/qt_menu.nib")
endif ()
# Copy qt plugins into bundle
acg_copy_after_build ( OpenFlipper "${QT_PLUGINS_DIR}" "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/QtPlugins")
endif( APPLE )
......@@ -41,7 +41,7 @@ include (BundleUtilities)
# copy qt plugins to bundle
file (GLOB _plugins "@CMAKE_BINARY_DIR@/Build/*.so")
file (GLOB_RECURSE _qtplugins "@QT_PLUGINS_DIR@/*.bundle")
file (GLOB_RECURSE _qtplugins "@CMAKE_BINARY_DIR@/Build/*.dylib")
foreach (_qtp ${_qtplugins})
get_filename_component(_dir "${_qtp}" PATH)
list(APPEND _qtdirs "${_dir}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment