Qt Forum

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

    Unsolved QtQuick.Controls is not installed

    QML and Qt Quick
    2
    2
    242
    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.
    • TyrannosourceExe
      TyrannosourceExe last edited by

      Hi Everyone!

      I inherited a QT project from a retired co-worker and I am building it for the first time on Ubuntu 16.04.6 desktop and am installing dependencies from scratch.

      I incur the following error message during runtime.

      QQmlApplicationEngine failed to load component
      <qml_filepath>  module "QtQuick.Controls" is not installed
      

      The project is running Python 2.7.12 with PyQt5, qt5-default 5.5.1, and the QML file calls for

      import QtQuick 2.5
      import QtQuick.Controls 1.4
      

      I haven't been able to find much help on this matter so any advice is appreciated.
      Thanks ahead of time.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        From the looks of it you haven't installed the corresponding package from your distribution.

        qt5-defaults is haut part of it. Take a look at the others available through your package manager.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post