Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qml Module Not Found - Error.

    Installation and Deployment
    qtcreator
    3
    4
    2829
    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.
    • M
      Mathan M last edited by

      Hi,

      I had installed the Qt 5.7 and installed the ArcGIS Runtime SDK for Qt 10.2.6 to create GIS mobile apps.
      I try create an app using the ArcGIS Project Template [ArcGIS Runtime 10.2.6 Qt Quick Application] in New File or Project, the .qml files shows error in
      import import ArcGIS.AppFramework 1.0

      Error Message Displayed:
      QML Module NOT Found.

      For Qmake projects, use the QML_IMPORT_PATH variable to add import paths.
      For Qbs projects, declare and set a qmlimportPaths property in your products to add import paths
      For qmlProjects, use the importPaths property to add import paths.

      Query:
      How to import an module to an .qml?
      Should I use command line to import and What is the command?

      Thanks in Advance.

      1 Reply Last reply Reply Quote 0
      • NickV
        NickV last edited by NickV

        You can try one of the following solutions:

        1. Run post installer of the arcgis again and set the paths of the qt creator, android and iOS again.
        2. As can i see you have typed import several times. Erase one import.
        3. Try to create a clean project by using arcgis template. It worked for me.
        M 1 Reply Last reply Reply Quote 1
        • M
          Mathan M @NickV last edited by

          Hi @NickV ,

          import import ArcGIS.AppFramework 1.0 - Its my fault.

          I have 3 imports.

          import QtQuick 2.3
          import QtQuick.Controls 1.2

          import Esri.ArcGISRuntime 100.0 -->Error Showing redline.

          This error now showing only the apps which opened through the ESRI Appstudio-QT.
          The Qt which is runs externally, does NOT have any problem.

          Query:
          module machine type 'ARM' conflicts with target machine type 'x64' - Compilation Error.

          Specification
          I had selected the Desktop as Default;
          Compiler: Microsoft Visual C++ Compiler 14.0 (amd64)
          Debugger: Auto-Detected CDB at <Path>
          Qt Version: Qt 5.7.0 (msvc2015_64)

          Thanks In Advance.

          1 Reply Last reply Reply Quote 0
          • L
            ldanzinger last edited by

            Hey Mathan,

            You may have already gotten around this by now, but the "Esri.ArcGISRuntime 100.0" namespace is for use with the SDK. If you are using AppStudio, you will import AppFramework. To further add to the issues, AppStudio exposes the 10.2.6 version of ArcGIS Runtime at this time, and so it is not able to use the 100.0 ("Quartz") version. If you are looking to use version 100.0, you will currently need to use Qt standalone, not with AppStudio.

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