Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qml Module Not Found - Error.

Qml Module Not Found - Error.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qtcreator
4 Posts 3 Posters 3.2k Views
  • 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 Offline
    M Offline
    Mathan M
    wrote on last edited by
    #1

    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
    0
    • NickVN Offline
      NickVN Offline
      NickV
      wrote on last edited by NickV
      #2

      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
      1
      • NickVN 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 Offline
        M Offline
        Mathan M
        wrote on last edited by
        #3

        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
        0
        • L Offline
          L Offline
          ldanzinger
          wrote on last edited by
          #4

          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
          0

          • Login

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