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

    How to add other Qml modules?

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 1.2k Views 1 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.
      • KrilleK Offline
        Krille
        last edited by

        Hi there,
        I am still a newbie in Qml and Ubuntu Touch app development. Now I want to use the QtWebsockets with:

        import QtWebSockets 1.0

        But when I build the app with clickable, I get the error: module 'QtWebsockets' is not installed

        How can I install them? Unfortunately I have no idea how Cmakes or click package format works. I have just used the template from clickable to build plain Qml apps.

        advocatuxA 2 Replies Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @Krille
          last edited by advocatux

          @Krille (edit) I've linked your question in the developers groups that I told you, let's wait for an informed answer here.

          1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @Krille
            last edited by

            @krille Brian told me that probably you need to use the old style import for the websockets because of the qt version that is in Ubuntu Touch: https://doc.qt.io/qt-5/qtwebsockets-qmlmodule.html

            1 Reply Last reply Reply Quote 1

            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