diff --git a/cmake/install.cmake b/cmake/install.cmake
index 430b0c7a59..49536dc446 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -75,12 +75,12 @@ if(UNIX AND NOT APPLE)
endmacro()
- if(EXISTS ${QT_INSTALL_LIBS}/libicui18n.so.56 AND EXISTS ${QT_INSTALL_LIBS}/libicuuc.so.56 AND EXISTS ${QT_INSTALL_LIBS}/libicudata.so.56)
+ if(EXISTS ${QT_INSTALL_LIBS}/libicui18n.so.73 AND EXISTS ${QT_INSTALL_LIBS}/libicuuc.so.73 AND EXISTS ${QT_INSTALL_LIBS}/libicudata.so.73)
# Use specific requested version that is found in the Qt library dir (at least in the Github Actions environment)
message(STATUS "Install specific libicu version from Qt dir")
- installLib(${QT_INSTALL_LIBS} libicui18n.so.56)
- installLib(${QT_INSTALL_LIBS} libicuuc.so.56)
- installLib(${QT_INSTALL_LIBS} libicudata.so.56)
+ installLib(${QT_INSTALL_LIBS} libicui18n.so.73)
+ installLib(${QT_INSTALL_LIBS} libicuuc.so.73)
+ installLib(${QT_INSTALL_LIBS} libicudata.so.73)
else()
message(STATUS "Using systems libicu library")
# This might not work for creating the installer as the version can differ
@@ -91,21 +91,9 @@ if(UNIX AND NOT APPLE)
install(FILES ${ICU_I18N_ABS} ${ICU_UC_ABS} ${ICU_DATA_ABS} TYPE LIB)
endif()
- file(GLOB audioPlugins ${QT_INSTALL_PLUGINS}/audio/*.so)
- install(FILES ${audioPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/audio)
-
- file(GLOB bearerPlugins ${QT_INSTALL_PLUGINS}/bearer/*.so)
- install(FILES ${bearerPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/bearer)
-
- file(GLOB iconEnginePlugins ${QT_INSTALL_PLUGINS}/iconengines/*.so)
- install(FILES ${iconEnginePlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/iconengines)
-
file(GLOB imageformatsPlugins ${QT_INSTALL_PLUGINS}/imageformats/*.so)
install(FILES ${imageformatsPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/imageformats)
- file(GLOB mediaservicePlugins ${QT_INSTALL_PLUGINS}/mediaservice/*.so)
- install(FILES ${mediaservicePlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/mediaservice)
-
install(FILES ${QT_INSTALL_PLUGINS}/platforms/libqxcb.so DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/platforms)
file(GLOB platforminputcontextsPlugins ${QT_INSTALL_PLUGINS}/platforminputcontexts/*.so)
@@ -114,6 +102,9 @@ if(UNIX AND NOT APPLE)
file(GLOB platformthemesPlugins ${QT_INSTALL_PLUGINS}/platformthemes/*.so)
install(FILES ${platformthemesPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/platformthemes)
+ file(GLOB tlsPlugins ${QT_INSTALL_PLUGINS}/tls/*.so)
+ install(FILES ${tlsPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/tls)
+
file(GLOB xcbglintegrationsPlugins ${QT_INSTALL_PLUGINS}/xcbglintegrations/*.so)
install(FILES ${xcbglintegrationsPlugins} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/xcbglintegrations)
@@ -123,14 +114,11 @@ elseif(APPLE)
install(SCRIPT ${PROJECT_SOURCE_DIR}/cmake/qt_deploy_mac.cmake)
# Install plugins
- execute_process(COMMAND qmake -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE QT_INSTALL_PLUGINS)
+ execute_process(COMMAND qmake6 -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE QT_INSTALL_PLUGINS)
string(STRIP ${QT_INSTALL_PLUGINS} QT_INSTALL_PLUGINS)
- install(DIRECTORY ${QT_INSTALL_PLUGINS}/audio DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
- install(DIRECTORY ${QT_INSTALL_PLUGINS}/bearer DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
install(DIRECTORY ${QT_INSTALL_PLUGINS}/iconengines DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
install(DIRECTORY ${QT_INSTALL_PLUGINS}/imageformats DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
- install(DIRECTORY ${QT_INSTALL_PLUGINS}/mediaservice DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
install(FILES ${QT_INSTALL_PLUGINS}/platforms/libqcocoa.dylib DESTINATION bin/platforms)
install(DIRECTORY ${QT_INSTALL_PLUGINS}/platforminputcontexts DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
install(DIRECTORY ${QT_INSTALL_PLUGINS}/platformthemes DESTINATION bin FILES_MATCHING PATTERN "*.dylib")
diff --git a/cmake/qt_deploy_mac.cmake b/cmake/qt_deploy_mac.cmake
index 243840b061..ce8fd6a6f1 100644
--- a/cmake/qt_deploy_mac.cmake
+++ b/cmake/qt_deploy_mac.cmake
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
-execute_process(COMMAND qmake -query QT_INSTALL_LIBS OUTPUT_VARIABLE QT_INSTALL_LIBS)
+execute_process(COMMAND qmake6 -query QT_INSTALL_LIBS OUTPUT_VARIABLE QT_INSTALL_LIBS)
string(STRIP ${QT_INSTALL_LIBS} QT_INSTALL_LIBS)
diff --git a/cmake/qt_deploy_win.cmake b/cmake/qt_deploy_win.cmake
index 12475508d5..b94dea38a9 100644
--- a/cmake/qt_deploy_win.cmake
+++ b/cmake/qt_deploy_win.cmake
@@ -2,7 +2,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
message(STATUS "Running windeployqt")
-execute_process(COMMAND windeployqt.exe
+execute_process(COMMAND qmake6 -query QT_INSTALL_BINS OUTPUT_VARIABLE QT_INSTALL_BINS)
+
+string(STRIP ${QT_INSTALL_BINS} QT_INSTALL_BINS)
+
+execute_process(COMMAND ${QT_INSTALL_BINS}/windeployqt.exe
${CMAKE_INSTALL_PREFIX}/bin/core.dll
${CMAKE_INSTALL_PREFIX}/bin/gui.dll
${CMAKE_INSTALL_PREFIX}/bin/input.dll
diff --git a/installer/installbuilder/qt6-binaries.xml b/installer/installbuilder/qt6-binaries.xml
index 41ac4a76b8..843b9d0697 100644
--- a/installer/installbuilder/qt6-binaries.xml
+++ b/installer/installbuilder/qt6-binaries.xml
@@ -64,52 +64,52 @@
linux linux-x64
- ../../dist/lib/libicudata.so.56
+ ../../dist/lib/libicudata.so.73
- ../../dist/lib/libicui18n.so.56
+ ../../dist/lib/libicui18n.so.73
- ../../dist/lib/libicuuc.so.56
+ ../../dist/lib/libicuuc.so.73
- ../../dist/lib/libQt5Core.so.5
+ ../../dist/lib/libQt6Core.so.6
- ../../dist/lib/libQt5DBus.so.5
+ ../../dist/lib/libQt6DBus.so.6
- ../../dist/lib/libQt5Gui.so.5
+ ../../dist/lib/libQt6Gui.so.6
- ../../dist/lib/libQt5Multimedia.so.5
+ ../../dist/lib/libQt6Multimedia.so.6
- ../../dist/lib/libQt5MultimediaGstTools.so.5
+ ../../dist/lib/libQt6MultimediaGstTools.so.6
- ../../dist/lib/libQt5MultimediaWidgets.so.5
+ ../../dist/lib/libQt6MultimediaWidgets.so.6
- ../../dist/lib/libQt5Network.so.5
+ ../../dist/lib/libQt6Network.so.6
- ../../dist/lib/libQt5OpenGL.so.5
+ ../../dist/lib/libQt6OpenGL.so.6
- ../../dist/lib/libQt5Qml.so.5
+ ../../dist/lib/libQt6Qml.so.6
- ../../dist/lib/libQt5Svg.so.5
+ ../../dist/lib/libQt6Svg.so.6
- ../../dist/lib/libQt5Widgets.so.5
+ ../../dist/lib/libQt6Widgets.so.6
- ../../dist/lib/libQt5XcbQpa.so.5
+ ../../dist/lib/libQt6XcbQpa.so.6
- ../../dist/lib/libQt5Xml.so.5
+ ../../dist/lib/libQt6Xml.so.6
@@ -181,7 +181,8 @@
all
- ../../dist/bin/iconengines
+ 1
+ ../../dist/bin/iconengines*
../../dist/bin/imageformats
@@ -190,11 +191,24 @@
../../dist/bin/platforms
- ../../dist/bin/styles
+ 1
+ ../../dist/bin/platforminputcontexts*
+
+
+ 1
+ ../../dist/bin/platformthemes*
+
+
+ 1
+ ../../dist/bin/styles*
../../dist/bin/tls
+
+ 1
+ ../../dist/bin/xcbglintegrations*
+