Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick not installed
Qt 6.11 is out! See what's new in the release blog

QtQuick not installed

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.1k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    nvharisha
    wrote on last edited by
    #1

    I have cross compiled Qt5.0.2 on a Mips based platform. I am trying to run QtQuick related examples:

    Basic examples which are given below I was able to run:

    @declarative/imageelements/bordereimage
    declarative/imageelements/image
    @

    But when I try to run shadereffects, I get

    @module "Qt.labs.shaders" is not installed@

    But I have installed and copied in:

    @/qt502/install/imports/Qt/labs@

    Similarly when I try to run qmlscene with qtquick, it gives me following error:

    @module "QtQuick" is not installed@

    I tried to change the .qml file like this:

    @/* import QtQuick 2.0 */
    import "../../../qml/QtQuick.2/"
    @

    But this resulted in one more error:

    @plugin cannot be loaded for module ".QT5.orig.qt502.install.qml.QtQuick": Module namespace 'QtQuick' does not match import URI '.QT5.orig.qt502.install.qml.QtQuick'@

    So I assume, there should be some "Environement variabels", where i can specify the paths.
    I tried using QML_IMPORT_PATH without any success.

    can any one suggest how set the proper path??

    Hari

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nvharisha
      wrote on last edited by
      #2

      I was able run QtQuick by setting :

      @QML2_IMPORT_PATH @

      instead of

      @QML_IMPORT_PATH. @

      Hari

      1 Reply Last reply
      0
      • M Offline
        M Offline
        madoodia
        wrote on last edited by
        #3

        hi
        i want to know that your problem is solved?

        if yes please tell me how?
        and if with QML2_IMPORT_PATH, please tell me what is its value?

        QML2_IMPORT_PATH = ?

        thanks

        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