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

    A Qml6 webapp: Touch piano

    Scheduled Pinned Locked Moved App Development
    5 Posts 3 Posters 153 Views 2 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.
      • pparentP Offline
        pparent
        last edited by pparent

        I've experimented a bit around building a click package based on Qml6 with Qtwebengine6 , to display some html/css/js page.

        I built a virtual piano application that works well with tactile and multi-touch, that I wanted to have. I've decided to base it on piano.co code but, it did not execute well in the older web-engine, so I figured let's experiment on bundling Qt6/Qml6 into my package.

        The conclusion is: It does allow to build a working .click package based on Qml6 by bundling all the Qt6 dependencies provided by the ubports repositories, and that runs as a charm (see screenshot bellow) ... And the openstore refuses to publish it because it has references to Qt6. I thought it would be possible as we have some version of Morph based on Qt6 in the openstore, but I guess the devs from the core team must have special permissions for that?

        Anyway if you are interested here is the repository:

        https://github.com/pparent76/touchpiano

        And here is the .click compiled (confined click):

        https://github.com/pparent76/touchpiano/releases/tag/v0.1.2

        I guess I will have to wait for the Qt6 migration to publish this app to the openstore! 😅, In the meantime here are some screenshots.

        min1.png

        min2.png

        G 1 Reply Last reply Reply Quote 1
        • G Offline
          gpatel-fr @pparent
          last edited by gpatel-fr

          @pparent

          Tested and approved ! well, at least it did not destroy my phone at first launch. Now I only have to remember my piano lessons of oh so long ago (I hated it).

          BTW from what you write, it seems that there are no official guidelines for Store inclusion ?

          From the information given by another poster, it was my understanding that any confined application could be uploaded without review, yet your application is confined yet was denied entry by the gatekeepers.

          Since you are a prolific click provider, I'd say that you could be entitled to use the next Q&A to ask who is responsible for this function and on which criteria ?

          Edit: some warning, the application is locking the phone in landscape mode until stopped 🙂

          pparentP 1 Reply Last reply Reply Quote 0
          • pparentP Offline
            pparent @gpatel-fr
            last edited by pparent

            @gpatel-fr

            Well at the same time I understand that using a Qt6 bundle for a piano application is bit overkill (as it would be to use an Electron app for that). Because it makes .click packages way heavier, although next versions would be very light as soon as Qt6 can be integrated into the filesystem. I did not plan to publish any other app with a Qt6 bundle, only because I had spent time to play around for this one I figured I would publish it anyway.

            Note that the nice thing with QtWebengine6 vs Electron/XWayland, is that the former is hardware accelerated, while the latter won't be until we can switch have electron apps run on Wayland with Mir2.x .

            @bhdouglass If you'r passing by, don't hesitate to explain more the uploading rules! 😉

            Some warning, the application is locking the phone in landscape mode until stopped 🙂

            This is not specific to my app, but happens also with other landscape-only apps. If you switch to another app without stopping this one, it will go back in normal (portrait) mode. It's just an option in the .desktop file. For example if you try this chess clock, it should be the same: https://open-store.io/app/chessclock.jonas . It has nothing to do with it being Qt6! 😉

            By the way I realize also that some multi-touch gestures has been added to Lomiri, specifically with 4 fingers, and it seems to me that it's going into the way of using properly multi-touch inside the apps. Sometimes an action is triggered, while I don't seem to have done anything obvious for that.

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

              Confined apps should be allowed without manual review. What's the exact error are you getting? Maybe it times out because it's a bit big? Maybe you can request Brian to upload it for you.

              As for the muti touch gestures, yes Lomiri has them for 3-finger (tablets) and 4-finger. Unfortunately, there's no way to disable it yet for each app. I have a custom indicator called Immersive mode but I think it only disabled the edge gestures and I don't even know if it still works on Noble 😅

              Lomiri Plus does have the same mode and it disables all gestures except the top edge.

              pparentP 1 Reply Last reply Reply Quote 0
              • pparentP Offline
                pparent @kugiigi
                last edited by

                @kugiigi said:

                Confined apps should be allowed without manual review. What's the exact error are you getting? Maybe it times out because it's a bit big?

                No, it's not a size problem. It says:

                The uploaded click did not pass automated review. Please fix the issues and upload again.
                
                    Unsupported `6.8` version of Qt used: lib/aarch64-linux-gnu/qt6/plugins/wayland-shell-integration/libinputpanel-shell.so
                
                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post