Skip to content

Start migration to Qt6#19

Draft
mariogrip wants to merge 3 commits intoDanfro:mainfrom
mariogrip:main
Draft

Start migration to Qt6#19
mariogrip wants to merge 3 commits intoDanfro:mainfrom
mariogrip:main

Conversation

@mariogrip
Copy link
Copy Markdown

This is a start, it works but have not tried to move over to confined, this might need some upstream changes sadly.

@Danfro
Copy link
Copy Markdown
Owner

Danfro commented Apr 11, 2026

@mariogrip thanks a lot! I will give that a try. Interesting to see that with Qt6 imports don't use a version anymore.

I will try to create a test version until we get it confined.

@mariogrip
Copy link
Copy Markdown
Author

It needs this https://gitlab.com/ubports/development/core/lomiri-push-qml/-/merge_requests/14

@Danfro
Copy link
Copy Markdown
Owner

Danfro commented Apr 11, 2026

Hmm, looks like my clickable images use a Qt 5.12 arg somehow. clickable update-images did not help.

Sending build context to Docker daemon   5.12kB
Step 1/30 : FROM docker.io/clickable/amd64-ut24.04-1.x-arm64
 ---> ded3a09ef919
Step 2/30 : LABEL base_image_hash="sha256:ded3a09ef9190034478d50932b7c0f5708320ff9cad5377293de788b99fcc4b4"
 ---> Using cache
 ---> 8077551c63e5
Step 3/30 : ARG GOPATH="/home/blaubaer/.clickable/go"
 ---> Using cache
 ---> 68fcb3ab2afa
Step 4/30 : ARG SDK_FRAMEWORK="ubuntu-touch-24.04-1.x"
 ---> Using cache
 ---> 87592adcc38a
Step 5/30 : ARG CLICK_FRAMEWORK="ubuntu-touch-24.04-1.x"
 ---> Using cache
 ---> fccde0df6b1a
Step 6/30 : ARG CLICK_FRAMEWORK_BASE="24.04-1.x"
 ---> Using cache
 ---> 587c20bd9280
Step 7/30 : ARG APPARMOR_POLICY="2404.1"
 ---> Using cache
 ---> 9e93d4083b3e
Step 8/30 : ARG QT_VERSION="5.12"
 ---> Using cache
 ---> e6279878af44
Step 9/30 : ARG ARCH="arm64"

But I am running into this set or errors when building with CLICKABLE_FRAMEWORK=ubuntu-touch-24.04-1.x NUM_PROCS=5 clickable --clean

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libqt6dbus6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                     Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6gui6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                    Depends: qt6-base-private-abi:arm64 (= 6.9.2)
                    Recommends: qt6-gtk-platformtheme:arm64 but it is not installable
                    Recommends: qt6-qpa-plugins:arm64 but it is not installable
                    Recommends: qt6-svg-plugins:arm64 but it is not installable
 libqt6network6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6opengl6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                       Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qml6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                    Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlmeta6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlmodels6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                          Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlworkerscript6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
 libqt6quick6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6widgets6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 maliit-inputcontext-qt6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.8.2) but it is not going to be installed
                                 Depends: libqt6waylandclient6:arm64 (>= 6.6.0) but it is not going to be installed
                                 Depends: qt6-base-private-abi:arm64 (= 6.8.2)
                                 Depends: qt6-waylandclient-private-abi:arm64 (= 6.8.2)
 qmlscene-qt6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 qt6-wayland:arm64 : Depends: libqt6core6t64:arm64 (>= 6.8.2+dfsg~) but it is not going to be installed
                     Depends: libqt6svg6:arm64 (>= 6.8.2~) but it is not going to be installed
                     Depends: libqt6waylandclient6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: libqt6waylandcompositor6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: libqt6wlshellintegration6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: qt6-base-private-abi:arm64 (= 6.8.2)
                     Depends: qt6-waylandclient-private-abi:arm64 (= 6.8.2)
                     Depends: qt6-waylandcompositor-private-abi:arm64 (= 6.8.2)
 qtubuntu-qt6:arm64 : Depends: liblomiri-content-hub-qt6-1:arm64 (>= 2.2.2+0~20260317053806.43+ubports24.04.2~1.gbpc569fd) but it is not going to be installed
                      Depends: libqt6core5compat6:arm64 (>= 6.6.0) but it is not going to be installed
                      Depends: libqt6core6t64:arm64 (>= 6.8.2) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.8.2)
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt install -y qt6-wayland:$ARCH qtubuntu-qt6:$ARCH maliit-inputcontext-qt6:$ARCH qmlscene-qt6:$ARCH' returned a non-zero code: 100
Command exited with non-zero exit status 100, see above for details. This is most likely not a problem with Clickable.

@mariogrip
Copy link
Copy Markdown
Author

Hmm, looks like my clickable images use a Qt 5.12 arg somehow. clickable update-images did not help.

Sending build context to Docker daemon   5.12kB
Step 1/30 : FROM docker.io/clickable/amd64-ut24.04-1.x-arm64
 ---> ded3a09ef919
Step 2/30 : LABEL base_image_hash="sha256:ded3a09ef9190034478d50932b7c0f5708320ff9cad5377293de788b99fcc4b4"
 ---> Using cache
 ---> 8077551c63e5
Step 3/30 : ARG GOPATH="/home/blaubaer/.clickable/go"
 ---> Using cache
 ---> 68fcb3ab2afa
Step 4/30 : ARG SDK_FRAMEWORK="ubuntu-touch-24.04-1.x"
 ---> Using cache
 ---> 87592adcc38a
Step 5/30 : ARG CLICK_FRAMEWORK="ubuntu-touch-24.04-1.x"
 ---> Using cache
 ---> fccde0df6b1a
Step 6/30 : ARG CLICK_FRAMEWORK_BASE="24.04-1.x"
 ---> Using cache
 ---> 587c20bd9280
Step 7/30 : ARG APPARMOR_POLICY="2404.1"
 ---> Using cache
 ---> 9e93d4083b3e
Step 8/30 : ARG QT_VERSION="5.12"
 ---> Using cache
 ---> e6279878af44
Step 9/30 : ARG ARCH="arm64"

But I am running into this set or errors when building with CLICKABLE_FRAMEWORK=ubuntu-touch-24.04-1.x NUM_PROCS=5 clickable --clean

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libqt6dbus6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                     Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6gui6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                    Depends: qt6-base-private-abi:arm64 (= 6.9.2)
                    Recommends: qt6-gtk-platformtheme:arm64 but it is not installable
                    Recommends: qt6-qpa-plugins:arm64 but it is not installable
                    Recommends: qt6-svg-plugins:arm64 but it is not installable
 libqt6network6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6opengl6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                       Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qml6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                    Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlmeta6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlmodels6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                          Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6qmlworkerscript6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
 libqt6quick6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 libqt6widgets6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.1) but it is not going to be installed
                        Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 maliit-inputcontext-qt6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.8.2) but it is not going to be installed
                                 Depends: libqt6waylandclient6:arm64 (>= 6.6.0) but it is not going to be installed
                                 Depends: qt6-base-private-abi:arm64 (= 6.8.2)
                                 Depends: qt6-waylandclient-private-abi:arm64 (= 6.8.2)
 qmlscene-qt6:arm64 : Depends: libqt6core6t64:arm64 (>= 6.9.2+dfsg~) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.9.2)
 qt6-wayland:arm64 : Depends: libqt6core6t64:arm64 (>= 6.8.2+dfsg~) but it is not going to be installed
                     Depends: libqt6svg6:arm64 (>= 6.8.2~) but it is not going to be installed
                     Depends: libqt6waylandclient6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: libqt6waylandcompositor6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: libqt6wlshellintegration6:arm64 (>= 6.6.0) but it is not going to be installed
                     Depends: qt6-base-private-abi:arm64 (= 6.8.2)
                     Depends: qt6-waylandclient-private-abi:arm64 (= 6.8.2)
                     Depends: qt6-waylandcompositor-private-abi:arm64 (= 6.8.2)
 qtubuntu-qt6:arm64 : Depends: liblomiri-content-hub-qt6-1:arm64 (>= 2.2.2+0~20260317053806.43+ubports24.04.2~1.gbpc569fd) but it is not going to be installed
                      Depends: libqt6core5compat6:arm64 (>= 6.6.0) but it is not going to be installed
                      Depends: libqt6core6t64:arm64 (>= 6.8.2) but it is not going to be installed
                      Depends: qt6-base-private-abi:arm64 (= 6.8.2)
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt install -y qt6-wayland:$ARCH qtubuntu-qt6:$ARCH maliit-inputcontext-qt6:$ARCH qmlscene-qt6:$ARCH' returned a non-zero code: 100
Command exited with non-zero exit status 100, see above for details. This is most likely not a problem with Clickable.

We are in the middle of a qt migration, so i think we are having that issue here. will take a look.

@mariogrip
Copy link
Copy Markdown
Author

@Danfro qt6 is fixed now + added more fixes and some for qt6.9 webengine as it switched to full skia engine we need to use wayland

@Danfro
Copy link
Copy Markdown
Owner

Danfro commented Apr 13, 2026

🤔 I am still running into the same errors as initially. Where is the setup trying to get the qt6 code from? Do I need to have that installed locally on my laptop? We don't have qt6 clickable images yet, right?

Edit: Its looking for arm64 packages, all I have on my laptop is amd64. I have some qt6 installed and I don't have many qt5 installed either. So I guess that is not the issue.

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.

2 participants