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 931 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
            • First post
              Last post