UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Testing the upgrade to Qt 5.12

    Scheduled Pinned Locked Moved OS
    137 Posts 19 Posters 50.2k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Offline
        Mattias
        last edited by

        Good to hear there is progress with the Qt 5.12 update. Reading above message it is not clear to me if you can also test this with app development using clickable. Is there a docker file with Qt 5.12 that can be used?

        I thought to test apps that need Qt 5.12 by running clickable desktop. Would that be possible? One of the apps that need an update Qt is Kaidan, and I guess there are more (with potential to be ported).

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @Mattias
          last edited by

          @Mattias I think it'll only be possible once it lands in devel. For now, you might need to install Qt 5.12 on a device and test your apps there

          1 Reply Last reply Reply Quote 0
          • IsaacI Offline
            Isaac
            last edited by

            nexus 5```
            There was an error loading Unity8:

            Missing some files.
            dobeyD 1 Reply Last reply Reply Quote 0
            • dobeyD Offline
              dobey @Isaac
              last edited by

              @Isaac If this is installed from the past 2 days, please revert to devel and do not install Qt 5.12 branches for now.

              There was an issue I was trying to fix, but CI lied to me a bit, and now the world is broken again with Qt 5.12 so I'm going to have to rebuild everything again the difficult way. Please be patient and I'll post again when it's properly installable again. Sorry for the hiccups all!

              KenedaK 1 Reply Last reply Reply Quote 2
              • KenedaK Offline
                Keneda @dobey
                last edited by Keneda

                @dobey said in Testing the upgrade to Qt 5.12:

                but CI lied to me a bit

                Who is CI?
                Do you want we chase and frag him for you? šŸ‘æ

                2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                AppLeeA 1 Reply Last reply Reply Quote 1
                • AppLeeA Offline
                  AppLee @Keneda
                  last edited by

                  @Keneda said in Testing the upgrade to Qt 5.12:

                  Who is CI?

                  Quick and dirty definition :
                  "Continuous Integration" (I think), it's a feature of Gitlab granting automatic daily builds with multiple repos.
                  It allows to script the integration process...

                  dobeyD 1 Reply Last reply Reply Quote 0
                  • dobeyD Offline
                    dobey @AppLee
                    last edited by

                    @AppLee Well, Jenkins, and more specifically pbuilder in this case.

                    1 Reply Last reply Reply Quote 2
                    • dobeyD Offline
                      dobey
                      last edited by

                      OK. Everything that needed to be rebuilt is finally done, and things should be usable again. Please test!

                      There's an e4.5 on its way to me, though not sure how long it will take to arrive. Hopefully I can see what the issues are that @CiberSheep and @lduboeuf were reporting on ther BQs when it gets here.

                      lduboeufL 1 Reply Last reply Reply Quote 2
                      • IsaacI Offline
                        Isaac
                        last edited by Isaac

                        Nexus 5

                        First minutes of test:

                        Can't reach web throught wi-fi. In settings app it shows that i'm connected.

                        Upd... Wi-fi works, but still can't connect to some known access points. ( random bug )

                        Cellular data works.

                        Clock & Calendar apps go down when being launched.

                        Keep testing.

                        dobeyD 1 Reply Last reply Reply Quote 0
                        • dobeyD Offline
                          dobey @Isaac
                          last edited by

                          @Isaac said in Testing the upgrade to Qt 5.12:

                          Clock & Calendar apps go down when being launched.

                          Calendar app is a known issue as it was using some internal API that we needed to remove with Qt 5.12 upgrade. There is a PR waiting to be merged/released which solves the issue.

                          For Clock app do you have a log? It is working fine here on my Nexus 4.

                          Thanks.

                          IsaacI 2 Replies Last reply Reply Quote 0
                          • lduboeufL Offline
                            lduboeuf @dobey
                            last edited by

                            @dobey fine will give a try tomorrow morning

                            1 Reply Last reply Reply Quote 0
                            • IsaacI Offline
                              Isaac @dobey
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • IsaacI Offline
                                Isaac @dobey
                                last edited by

                                @dobey

                                Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
                                Creating a QMirClientScreen now
                                Could not create AF_NETLINK socket (Permission denied)
                                propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.328\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1724 comm=\"NetworkManager \")"
                                nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.328\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1724 comm=\"NetworkManager \")"
                                "Object path cannot be empty"
                                qml: [LOG]: Clock Page loaded
                                library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
                                [LOG] Loading laps from  "/home/phablet/.config/com.ubuntu.clock/com.ubuntu.clock.conf"
                                qml: [LOG]: Stopwatch Page Loaded
                                [PERFORMANCE]: Last frame took 46 ms to render.
                                
                                (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                                
                                (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                                
                                (process:2343): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
                                qml: [LOG]: Alarm Database loaded
                                qml: [LOG]: Alarm Page loaded
                                error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.Operations\" member=\"list\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                                error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"running\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                                lastError - no arguments?
                                error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"last_error\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                                lastError - no arguments?
                                error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.230\" (uid=32011 pid=2343 comm=\"/usr/lib/qt5/bin/qmlscene share/qml/ubuntu-clock-a\") interface=\"com.canonical.libertine.Service.OperationsMonitor\" member=\"result\" error name=\"(unset)\" requested_reply=\"0\" destination=\"com.canonical.libertine.Service\" (uid=32011 pid=3420 comm=\"/usr/bin/python3 /usr/bin/libertined \")"
                                lastError - no arguments?
                                
                                1 Reply Last reply Reply Quote 0
                                • IsaacI Offline
                                  Isaac
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • IsaacI Offline
                                    Isaac
                                    last edited by

                                    [2020-10-03:01:40:56.865] qtmir.applications: Application["com.ubuntu.clock_clock"]::setRequestedState(requestedState=suspended)
                                    [2020-10-03:01:40:56.865] qtmir.applications: Application["com.ubuntu.clock_clock"]::suspend()
                                    [2020-10-03:01:40:56.866] qtmir.applications: Application["com.ubuntu.clock_clock"]::setInternalState(state=SuspendingWaitSession)
                                    [2020-10-03:01:40:56.867] toplevelwindowmodel: move after
                                    index=0,appId=logviewer.neothethird_logviewer,surface=0x2fa5538,id=3),(index=1,appId=com.ubuntu.clock_clock,surface=0x2927fe8,id=4),(index=2,appId=com.ubuntu.filemanager_filemanager,surface=0x2fa5678,id=2)
                                    [2020-10-03:01:40:56.867] toplevelwindowmodel: setFocusedWindow(Window[0x3243370, id=3, MirSurface[0x2fa5538,""]])
                                    [2020-10-03:01:40:56.868] qtmir.sessions: TaskController::onSessionStopping - sessionName=ubuntu-clock-app.qml
                                    [2020-10-03:01:40:56.868] qtmir.applications: Application["com.ubuntu.clock_clock"]::stop()
                                    Application["com.ubuntu.clock_clock"]::stop()
                                    [2020-10-03:01:40:56.906] qtmir.applications: Application["com.ubuntu.clock_clock"]::setInternalState(state=Stopped)
                                    [2020-10-03:01:40:56.997] toplevelwindowmodel: removeAt after (index=0,appId=logviewer.neothethird_logviewer,surface=0x2fa5538,id=3),(index=1,appId=com.ubuntu.filemanager_filemanager,surface=0x2fa5678,id=2) apps left 2
                                    [2020-10-03:01:40:57.000] qtmir.surfaces: MirSurface[0x2927fe8,"com.ubuntu.clock_clock"]::~MirSurface() viewCount=0
                                    [2020-10-03:01:40:57.018] qtmir.applications: Application["com.ubuntu.clock_clock"]::~Application()
                                    [2020-10-03:01:40:57.548] ApplicationManager::onProcessStopped reports stop of appId= "com.ubuntu.clock_clock" which AppMan is not managing, ignoring the event
                                    
                                    AppLeeA 1 Reply Last reply Reply Quote 0
                                    • lduboeufL Offline
                                      lduboeuf
                                      last edited by lduboeuf

                                      @dobey tests on BQ4.5:

                                      Openstore, Address-book-app, Morph, Document viewer, Dialer-app, Gallerie, Camera: OK
                                      Telegram, Messaging-app, Weather, Calendar, sfxr, t-tris, Stellarium, youtube and facebook webapps: all crash at startup.
                                      Content-hub is also not possible from contact-app

                                      dobeyD 1 Reply Last reply Reply Quote 0
                                      • AppLeeA Offline
                                        AppLee @Isaac
                                        last edited by

                                        @Isaac
                                        To share logs, it's best to put the entire log file and share it with https://paste.ubuntu.com/ for example.
                                        It's easier to read the thread this way.

                                        Thanks

                                        IsaacI 1 Reply Last reply Reply Quote 0
                                        • IsaacI Offline
                                          Isaac @AppLee
                                          last edited by Isaac

                                          @AppLee Unity .log file fails to load on Pastebin :confused_face:

                                          I do everything directly from a phone. As far as i'm new in linux community (i've just started playing with UT Terminal) can you share some hints, like how to upload and share 2 mb. log file, as an example?

                                          dobeyD 1 Reply Last reply Reply Quote 0
                                          • dobeyD Offline
                                            dobey @Isaac
                                            last edited by

                                            @Isaac If you are using the logviewer app, be sure to set the username to something reasonable, in the settings of the app first.

                                            1 Reply Last reply Reply Quote 0
                                            • dobeyD Offline
                                              dobey @lduboeuf
                                              last edited by

                                              @lduboeuf Very odd. Hopefully the e4.5 arrives here soon and I can reproduce these issues with it.

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post