Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

meshroom installation: Error occurred: "line module "Qt.xx" is not installed". How can I install "main.qml"



  • Plugins loaded: CameraCalibration, CameraInit, CameraLocalization, CameraRigCalibration, CameraRigLocalization, ConvertSfMFormat, DepthMap, DepthMapFilter, ExportAnimatedCamera, ExportMaya, FeatureExtraction, FeatureMatching, ImageMatching, ImageMatchingMultiSfM, KeyframeSelection, MeshDecimate, MeshDenoising, MeshFiltering, MeshResampling, Meshing, PrepareDenseScene, Publish, SfMAlignment, SfMTransform, StructureFromMotion, Texturing
    WARNING:root:QQmlApplicationEngine failed to load component
    WARNING:root:file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:12 module "Controls" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:10 module "MaterialIcons" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:5 module "QtQuick.Window" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:8 module "Qt.labs.settings" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:3 module "QtQuick.Controls" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:11 module "Utils" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:6 module "QtQml.Models" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:1 module "QtQuick" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:4 module "QtQuick.Layouts" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:7 module "Qt.labs.platform" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:2 module "QtQuick.Controls" is not installed
    file:///C:/Users/esys_service/Downloads/Meshroom-2019.1.0-win64/Meshroom-2019.1.0/lib/meshroom/ui/qml/main.qml:12 module "Controls" is not installed

    In the file main.qml start:
    import QtQuick 2.7
    import QtQuick.Controls 2.3
    import QtQuick.Controls 1.4 as Controls1 // For SplitView
    import QtQuick.Layouts 1.1
    import QtQuick.Window 2.3
    import QtQml.Models 2.2
    import Qt.labs.platform 1.0 as Platform
    import Qt.labs.settings 1.0
    import GraphEditor 1.0
    import MaterialIcons 2.2
    import Utils 1.0
    import Controls 1.0

    ApplicationWindow {
    id: _window

    width: settings_General.windowWidth
    height: settings_General.windowHeight
    minimumWidth: 650
    minimumHeight: 500
    visible: true

  • Lifetime Qt Champion

    Hi
    but did you install Qt with QML and all ?



  • I installed meshroom.19.2.0 with all the required components included. It was said that the installation progress is selve explaining. There was no need to install Qt with qml components.



  • How to install Qt and main.qml?
    WARNING:root:QQmlApplicationEngine failed to load component.

    How can I fix that?

    Regards


  • Lifetime Qt Champion

    @zahnspange
    Hi
    I would try a normal QML example and see if all is as it should be.
    The warnings/erros sounds like you dont have QML installed.

    You might need to install Qt with the online installer if you have not already done that.


Log in to reply