keyboard: adapt to Qt6
This commit is contained in:
parent
6ffafe1c45
commit
93e9990df8
@ -21,7 +21,7 @@ calamares_add_plugin(keyboard
|
||||
keyboard.qrc
|
||||
SHARED_LIB
|
||||
LINK_LIBRARIES
|
||||
Qt5::DBus
|
||||
${qtname}::DBus
|
||||
)
|
||||
|
||||
calamares_add_test(keyboardtest SOURCES Tests.cpp SetKeyboardLayoutJob.cpp RESOURCES keyboard.qrc)
|
||||
|
@ -8,7 +8,7 @@ if(NOT WITH_QML)
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(Qt5 ${QT_VERSION} CONFIG REQUIRED Core DBus)
|
||||
find_package(${qtname} ${QT_VERSION} CONFIG REQUIRED Core DBus)
|
||||
|
||||
set(_keyboard ${CMAKE_CURRENT_SOURCE_DIR}/../keyboard)
|
||||
|
||||
@ -27,5 +27,5 @@ calamares_add_plugin(keyboardq
|
||||
keyboardq.qrc
|
||||
SHARED_LIB
|
||||
LINK_LIBRARIES
|
||||
Qt5::DBus
|
||||
${qtname}::DBus
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user