Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt.labs.controls is not installed
Forum Updated to NodeBB v4.3 + New Features

Qt.labs.controls is not installed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 7.1k 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.
  • w00t1234W Offline
    w00t1234W Offline
    w00t1234
    wrote on last edited by
    #1

    Hi guys i have a problem.

    QQmlApplicationEngine failed to load component
    qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
    qrc:/main.qml:3 module "Qt.labs.controls" is not installed
    qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
    qrc:/main.qml:3 module "Qt.labs.controls" is not installed

    Images

    http://i.hizliresim.com/B2YLzp.jpg
    http://i.hizliresim.com/Zd493G.jpg

    AlienA 1 Reply Last reply
    1
    • jpnurmiJ Offline
      jpnurmiJ Offline
      jpnurmi
      wrote on last edited by
      #2

      Which Qt version are you using? The tech preview was released under the working title of Qt Labs Controls in Qt 5.6, but the final name in Qt 5.7 is Qt Quick Controls 2.

      1 Reply Last reply
      1
      • w00t1234W w00t1234

        Hi guys i have a problem.

        QQmlApplicationEngine failed to load component
        qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
        qrc:/main.qml:3 module "Qt.labs.controls" is not installed
        qrc:/main.qml:4 module "Qt.labs.controls.material" is not installed
        qrc:/main.qml:3 module "Qt.labs.controls" is not installed

        Images

        http://i.hizliresim.com/B2YLzp.jpg
        http://i.hizliresim.com/Zd493G.jpg

        AlienA Offline
        AlienA Offline
        Alien
        wrote on last edited by
        #3

        @w00t1234 It's because of your Qt version "import Qt.labs.controls 1.0" is for Qt5.6.2 and older but newer Qt's SDK use
        QtQuick.Controls 2.1 instead.

        so please replace :
        import QtQuick.Controls 2.1

        have a nice day

        1 Reply Last reply
        1

        • Login

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