File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ environment:
1010 - GENERATOR : " Visual Studio 15 2017"
1111 ARCHITECTURE : " "
1212 APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
13- QTDIR : C:\Qt\5.13 .2\msvc2017
13+ QTDIR : C:\Qt\5.15 .2\msvc2017
1414 PLATFORM : Win32
1515 - GENERATOR : " MinGW Makefiles"
1616 ARCHITECTURE : " "
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ add_subdirectory(external)
3838
3939# Find the QtWidgets library
4040find_package (Qt6
41- REQUIRED COMPONENTS
41+ COMPONENTS
4242 Core
4343 Widgets
4444 Gui
@@ -47,14 +47,18 @@ find_package(Qt6
4747
4848if (NOT Qt6_FOUND)
4949 find_package (Qt5 5.15
50- REQUIRED COMPONENTS
50+ COMPONENTS
5151 Core
5252 Widgets
5353 Gui
5454 OpenGL
5555 )
5656endif ()
5757
58+ if (NOT (Qt6_FOUND OR Qt5_FOUND))
59+ message (FATAL_ERRROR "Qt libraries were not found." )
60+ endif ()
61+
5862
5963qt_add_resources (RESOURCES ./resources/resources.qrc )
6064
You can’t perform that action at this time.
0 commit comments