• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 934 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.
    • K Offline
      Krille
      last edited by 12 May 2018, 06:05

      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.

      A 2 Replies Last reply 12 May 2018, 11:11 Reply Quote 0
      • A Offline
        advocatux @Krille
        last edited by advocatux 12 May 2018, 11:11

        @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
        • A Offline
          advocatux @Krille
          last edited by 13 May 2018, 16:05

          @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
          3 out of 3
          • First post
            3/3
            Last post