Skip to content

Commit be77dc0

Browse files
authored
(cmake) Update qt macro usage (#44)
1 parent d27f57a commit be77dc0

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ explicitly support other platforms.
8989
* Eigen3 3.2+
9090
* spdlog 1.4.2+
9191
* Boost Program Options 1.58+: Required if building applications or utilities.
92-
* Qt 6.3+: Required if building GUI applications or utilities.
92+
* Qt 6.5+: Required if building GUI applications or utilities.
9393

9494
**Optional**
9595
* Boost Filesystem 1.58+
@@ -177,7 +177,7 @@ cmake -S . -B build/ -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/qt/lib/cmake/
177177
cmake -S . -B build/ -DCMAKE_PREFIX_PATH=/usr/local/opt/qt/lib/cmake/
178178

179179
# Ubuntu, Qt6 installed from source
180-
cmake -S . -B build/ -DCMAKE_PREFIX_PATH=/usr/local/Qt-6.4.2/lib/cmake/
180+
cmake -S . -B build/ -DCMAKE_PREFIX_PATH=/usr/local/Qt-6.5.0/lib/cmake/
181181
```
182182

183183
#### Unit tests

apps/Canny/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if (${VC_INSTALL_APPS})
7777

7878
qt_generate_deploy_app_script(
7979
TARGET ${target}
80-
FILENAME_VARIABLE canny_gui_deploy_script
80+
OUTPUT_SCRIPT canny_gui_deploy_script
8181
NO_UNSUPPORTED_PLATFORM_ERROR
8282
)
8383
install(SCRIPT ${canny_gui_deploy_script} COMPONENT Programs)

apps/Projection/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if (${VC_INSTALL_APPS})
8282

8383
qt_generate_deploy_app_script(
8484
TARGET ${target}
85-
FILENAME_VARIABLE projection_gui_deploy_script
85+
OUTPUT_SCRIPT projection_gui_deploy_script
8686
NO_UNSUPPORTED_PLATFORM_ERROR
8787
)
8888
install(SCRIPT ${projection_gui_deploy_script} COMPONENT Programs)

apps/VC/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if (${VC_INSTALL_APPS})
7474

7575
qt_generate_deploy_app_script(
7676
TARGET ${target}
77-
FILENAME_VARIABLE vc_gui_deploy_script
77+
OUTPUT_SCRIPT vc_gui_deploy_script
7878
NO_UNSUPPORTED_PLATFORM_ERROR
7979
)
8080
install(SCRIPT ${vc_gui_deploy_script} COMPONENT Programs)

cmake/VCFindDependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ list(APPEND VC_CUSTOM_MODULES "${CMAKE_MODULE_PATH}/FindFilesystem.cmake")
2828

2929
### Qt6 ###
3030
if((VC_BUILD_APPS OR VC_BUILD_UTILS) AND VC_BUILD_GUI)
31-
find_package(Qt6 6.3 QUIET REQUIRED COMPONENTS Widgets Gui Core Network)
31+
find_package(Qt6 6.5 QUIET REQUIRED COMPONENTS Widgets Gui Core Network)
3232
qt_standard_project_setup()
3333
endif()
3434

0 commit comments

Comments
 (0)