Commit ebfeb261 authored by Jan Möbius's avatar Jan Möbius

Install qt plugins and qt.conf

parent 9f51e9fa
Pipeline #1527 failed with stage
......@@ -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
......
[Paths]
Plugins = plugins
Markdown is supported
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