mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-19 06:47:44 +00:00
Require at least 6.7 for qt_generate_deploy_app_script
We use DEPLOY_TOOL_OPTIONS which is only available in 6.7
This commit is contained in:
parent
6a5515f77b
commit
83e57f7009
2 changed files with 18 additions and 13 deletions
2
.github/workflows/cmake-multi-platform.yml
vendored
2
.github/workflows/cmake-multi-platform.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: "6.6.*"
|
version: "6.7.*"
|
||||||
cache: true
|
cache: true
|
||||||
modules: 'qthttpserver qtwebsockets'
|
modules: 'qthttpserver qtwebsockets'
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,8 @@ else()
|
||||||
install(FILES zone.xiv.novus.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
|
install(FILES zone.xiv.novus.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Qt 6.7 brings DEPLOY_TOOL_OPTIONS
|
||||||
|
if(QT_VERSION_MINOR LESS 7)
|
||||||
set(deploy_tool_options_arg "")
|
set(deploy_tool_options_arg "")
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(deploy_tool_options_arg --no-quick-import --no-virtualkeyboard --no-opengl-sw --plugindir "${CMAKE_INSTALL_PREFIX}/bin/bin/plugins" --libdir "${CMAKE_INSTALL_PREFIX}/bin/bin/" --no-translations)
|
set(deploy_tool_options_arg --no-quick-import --no-virtualkeyboard --no-opengl-sw --plugindir "${CMAKE_INSTALL_PREFIX}/bin/bin/plugins" --libdir "${CMAKE_INSTALL_PREFIX}/bin/bin/" --no-translations)
|
||||||
|
@ -38,3 +40,6 @@ qt_generate_deploy_app_script(
|
||||||
DEPLOY_TOOL_OPTIONS ${deploy_tool_options_arg}
|
DEPLOY_TOOL_OPTIONS ${deploy_tool_options_arg}
|
||||||
)
|
)
|
||||||
install(SCRIPT ${deploy_script})
|
install(SCRIPT ${deploy_script})
|
||||||
|
else()
|
||||||
|
message(INFO "App deployment requires Qt 6.7")
|
||||||
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue