Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to add other Qml modules?

    App Development
    2
    3
    600
    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.
    • Krille
      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.

      advocatux 2 Replies Last reply Reply Quote 0
      • advocatux
        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
        • advocatux
          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