Skip to content
Snippets Groups Projects

Add a new installation method for local installation under Linux

Merged Ammar Nejati requested to merge a.newInstallMethod into main
Files
12
+ 6
6
@@ -146,7 +146,7 @@ if(WIN32)
set(QtComp Qt6::${comp})
get_target_property(dll ${QtComp} LOCATION_Release)
get_property(dll TARGET ${QtComp} PROPERTY LOCATION_Release)
install(FILES ${dll} DESTINATION ${destination_lib} COMPONENT Libraries)
install(FILES ${dll} DESTINATION ${destination_lib} COMPONENT WinLibraries)
message(STATUS "Install Qt lib ${QtComp} (${dll})")
endforeach()
@@ -156,20 +156,20 @@ if(WIN32)
install(FILES ${Qt_DIR}/bin/opengl32sw.dll
DESTINATION ${destination_lib}
COMPONENT Libraries)
COMPONENT WinLibraries)
install(FILES ${Qt_PLUGINS_DIR}/platforms/qwindows.dll
DESTINATION bin/platforms
COMPONENT Libraries)
COMPONENT WinLibraries)
install(FILES ${Qt_PLUGINS_DIR}/iconengines/qsvgicon.dll
DESTINATION bin/iconengines
COMPONENT Libraries)
COMPONENT WinLibraries)
install(FILES ${Qt_PLUGINS_DIR}/imageformats/qjpeg.dll ${Qt_PLUGINS_DIR}/imageformats/qsvg.dll
DESTINATION bin/imageformats
COMPONENT Libraries)
COMPONENT WinLibraries)
set(QT_VISTA_STYLE ${Qt_PLUGINS_DIR}/styles/qwindowsvistastyle.dll)
if(EXISTS ${QT_VISTA_STYLE})
install(FILES ${QT_VISTA_STYLE} DESTINATION bin/styles COMPONENT Libraries)
install(FILES ${QT_VISTA_STYLE} DESTINATION bin/styles COMPONENT WinLibraries)
else()
message(AUTHOR_WARNING File ${QT_VISTA_STYLE} not found.)
endif()
Loading