Important: Please read the Qt Code of Conduct -

QtQuick.Controls is not installed

  • 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.

  • Lifetime Qt Champion

    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.

Log in to reply