mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Adapt build system to building with Qt5 and Qt6
By default it builds with Qt5 (KDEInstallDirs module from ECM takes care of that), to build with Qt6 you need to build with -DQT_MAJOR_VERSION=6.
This commit is contained in:
committed by
Tomaz Canabrava
parent
8c53503329
commit
305e699a57
@@ -59,7 +59,7 @@ endif()
|
||||
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KONSOLEPRIVATE
|
||||
SOVERSION 1
|
||||
)
|
||||
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
|
||||
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED
|
||||
Core
|
||||
DBus
|
||||
PrintSupport
|
||||
|
||||
Reference in New Issue
Block a user