Skip to content
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

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Qt6 support #235

wants to merge 9 commits into from

Conversation

cordlandwehr
Copy link

This is a work in progress parting state in relation to maliit/framework#125 .

Done:

  • compile porting
  • compiles with Qt6 & Qt5 version of Maliit

Next:

  • adapt to coinstallable Maliit for Qt5 and Qt6
  • runtime testing

@hedmo
Copy link

hedmo commented Nov 25, 2024

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)
Copy link
Contributor

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))

@JamiKettunen
Copy link
Contributor

JamiKettunen commented Dec 29, 2024

After selecting this as my OSK in KDE Plasma 6 (Wayland) systemsettings I can already say that while holding spacebar for cursor selector works trying to use it by swiping on the empty area etc seems to just dismiss the keyboard when (accidentally) going past the very beginning/end of many UI textboxes like launcher and dolphin search. I may report back other oddities I see perhaps but these actually seem to be bugs on KDE side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants