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: Module is not installed
Forum Updated to NodeBB v4.3 + New Features

QtQuick: Module is not installed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qtquickmodule
1 Posts 1 Posters 2.5k 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.
  • J Offline
    J Offline
    Jan Roorda
    wrote on last edited by
    #1

    Hi,

    I'm struggeling with a custom QML module. The weird thing is, it works when I build and run in a Linux environment, but when I build and run it in a Windows environment it gives the error "Module jbQuick.Charts is not installed.

    My root project directory contains a folder qml/jbQuick/Charts which holds the qmldir and QML files.
    The qml directory is added in the .pro file: QML_IMPORT_PATH = qml
    The qml directory is added in the main.cpp file:

    QQmlApplicationEngine engine;
    engine.addImportPath(QStringLiteral("jbQuick/Charts"));
    engine.addImportPath(QStringLiteral("qml"));

    In the QML file where I want to use the custom module I state: import jbQuick.Charts 1.0

    Do I miss something? Is this an known issue? It's very frustrating because it runs perfectly under Linux (Ubuntu)

    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