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. Get "module "QtQuick" is not installed" error when running make check for a qml autotest
Forum Update on Monday, May 27th 2025

Get "module "QtQuick" is not installed" error when running make check for a qml autotest

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 346 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.
  • T Offline
    T Offline
    Trung Nguyen Hoang
    wrote on 11 Oct 2021, 08:41 last edited by Trung Nguyen Hoang 10 Nov 2021, 10:44
    #1

    Hi everyone,

    I'm trying to run Qt default autotest on my Ubuntu for some purpose by calling "make check".
    Everything runs fine until running the qml tests.
    When running qml autotest, eg: qt5/qtdeclarative/tests/auto/qmltest, I receive the below error:

    module "QtQuick" is not installed"
    import QtQuick 2.0
    ^

    module "QtTest" is not installed
    import QtTest 1.1
    ^

    I search around on the google but cannot find any useful information.
    I'm using qt5 v5.10.1.
    And following the guide below to build Qt in -developer-mode: https://wiki.qt.io/Building_Qt_5_from_Git#Configuring_and_Building

    Can anyone help me?
    Thanks,

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Trung Nguyen Hoang
      wrote on 19 Jan 2022, 08:20 last edited by
      #2

      For the people who face the same issue as me:
      I found the solution for this issue.
      We need to set QML2_IMPORT_PATH environment variable to qml dir in qtdeclarative component by running: export QML2_IMPORT_PATH=/path/qt5/qtdeclarative/qml before running make check.

      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