-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt6 support #235
base: master
Are you sure you want to change the base?
Qt6 support #235
Conversation
This leads to problems when passing the object as copy in signal connections.
Following this. Added it on top of master . Both framework and keyboard compiled fine but the keyboard did not appear after reboot. |
@@ -2,37 +2,48 @@ cmake_minimum_required(VERSION 3.9) | |||
|
|||
project(maliit-keyboard VERSION 2.3.1) | |||
|
|||
option(BUILD_WITH_QT6 "Enable build with Qt6" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need a set(CMAKE_POSITION_INDEPENDENT_CODE ON)
somewhere here just like in framework to prevent stuff like:
ld: error: relocation R_X86_64_PC32 cannot be used against symbol 'MaliitKeyboard::Logic::EventHandler::staticMetaObject'; recompile with -fPIC
>>> defined in libarplugin.so.lto.libmaliit-keyboard-lib.a(mocs_compilation.cpp.o at 31788).o
>>> referenced by moc_eventhandler.cpp:291 (maliit-keyboard-lib_autogen/LGVL4OH3BC/moc_eventhandler.cpp:291)
>>> libarplugin.so.lto.libmaliit-keyboard-lib.a(eventhandler.cpp.o at 1370304).o:(MaliitKeyboard::Logic::EventHandler::onWordCandidatePressed(QString, bool))
After selecting this as my OSK in KDE Plasma 6 (Wayland) |
This is a work in progress parting state in relation to maliit/framework#125 .
Done:
Next: