69 |
endif () |
endif () |
70 |
|
|
71 |
# Check for Qt |
# Check for Qt |
72 |
find_package (Qt5 REQUIRED COMPONENTS Core Gui Widgets) |
find_package (QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) |
73 |
|
find_package (Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui Widgets) |
74 |
|
|
75 |
if (CONFIG_XUNIQUE) |
if (CONFIG_XUNIQUE) |
76 |
find_package (Qt5 REQUIRED COMPONENTS Network) |
find_package (Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Network) |
77 |
endif () |
endif () |
78 |
|
|
79 |
find_package (Qt5LinguistTools) |
find_package (Qt${QT_VERSION_MAJOR}LinguistTools) |
80 |
|
|
81 |
include (CheckIncludeFile) |
include (CheckIncludeFile) |
82 |
include (CheckIncludeFiles) |
include (CheckIncludeFiles) |