Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmlextension plugins example doesn't compile
Forum Updated to NodeBB v4.3 + New Features

Qmlextension plugins example doesn't compile

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 848 Views 1 Watching
  • 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.
  • I Offline
    I Offline
    iplayfast
    wrote on last edited by
    #1

    says: Unknown module(s) in QT: qml
    This is with a fresh install of QT 5.3.0 (qt-opensource-linux-x64-1.6.0-2-online.run)

    1 Reply Last reply
    0
    • M Offline
      M Offline
      millerthegorilla
      wrote on last edited by
      #2

      I installed QT 5.3 the same way on linux, It turns out that its not really necessary as there is a qt5 qtcreator available via the repositories (apt system).

      What I had to do was install the libqt5declarative5 package to get some of the qml stuff to work. Its worth checking the path variable of your build environment for the qt5 path and then opening a terminal and checking that path for examples/plugins. I am having problems with the qtcontainerextension plugin, and I have found that if I choose a different build environment to the desktop one then I have to copy the plugin files manually to the 'QTInstallPath/plugins/designer/' folder. QTInstallPath in our case is something along the lines of /opt/QT/5.3/gcc_64/bin/ (if you use the 64 bit gcc build).

      The other thing is that there are a whole host of libqt5 libs that you can install via the repositories and some of them (the ubuntu one for instance) remove modemmanager - so if you use a broadband dongle then be careful. I suspect that there is a way to install the needed qml declarative files via the maintenance manager, but I opened all of the options in there and couldn't find anything worth clicking.
      I haven't tried to compile that particular example myself but I figure this will help.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved