Install qt plugins and qt.conf
This commit is contained in:
@@ -85,6 +85,16 @@ if ( BUILD_APPS )
|
||||
if ( WIN32 )
|
||||
FILE(GLOB files_install_app_dlls "${CMAKE_BINARY_DIR}/Build/*.dll" )
|
||||
INSTALL(FILES ${files_install_app_dlls} DESTINATION . )
|
||||
|
||||
# platform plugins for qt shoulb be installed along with the apps to run on the target systems
|
||||
if (EXISTS ${CMAKE_BINARY_DIR}/Build/plugins/platform )
|
||||
FILE(GLOB files_install_app_platform_dlls "${CMAKE_BINARY_DIR}/Build/plugins/platform/*.dll" )
|
||||
INSTALL(FILES ${files_install_app_platform_dlls} DESTINATION . )
|
||||
|
||||
# Create a qt.conf file to find plugins on windows
|
||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/Qt/qt.conf.in Build/qt.conf COPYONLY )
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
else () # QT ,Opengl or glut not found
|
||||
|
||||
2
src/OpenMesh/Apps/Qt/qt.conf.in
Normal file
2
src/OpenMesh/Apps/Qt/qt.conf.in
Normal file
@@ -0,0 +1,2 @@
|
||||
[Paths]
|
||||
Plugins = plugins
|
||||
Reference in New Issue
Block a user