Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101163

Qmltc error prevents qtdeclarative from compiling

    XMLWordPrintable

Details

    • 6f67326bda (qt/qtdeclarative/dev) 4f5a7b20da (qt/qtdeclarative/6.3) abdc369b98 (qt/qtdeclarative/6.2) abdc369b98 (qt/tqtc-qtdeclarative/6.2)

    Description

      After doing a completely clean build + install of qtbase and qtshadertools, I get this error when doing a completely clean build + install of qtdeclarative:

      [2309/5293] Generating .qmltc/qmltc_test_module/typewithenums.h, .qmltc/qmltc_test_module/typewithenums.cpp
      FAILED: tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.h tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.cpp /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.h /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.cpp
      cd /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data && /usr/bin/cmake -E make_directory /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module && /home/noah/qt/build/qt/qtdeclarative/bin/qmltc --header /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.h --impl /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/typewithenums.cpp --namespace QmltcTest -i /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/qmldir --resource /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.rcc/qmake_QmltcTests.qrc --resource /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.rcc/qmltc_test_module_raw_qml_0.qrc /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/typeWithEnums.qml
      Error: /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/typeWithEnums.qml: Warnings occurred while importing base modules:
      ---
      Error: Failed to find the following builtins: builtins.qmltypes, jsroot.qmltypes (so will use qrc). Import paths used:
       /home/noah/qt/usr/qml
      ---
      
      Error: /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/typeWithEnums.qml:1:1: Warnings occurred while importing module "QtQml":
      import QtQml
      ^^^^^^
      ---
      Error: Failed to import QtQml. Are your import paths set up properly?
      ---
      
      [2311/5293] Generating .qmltc/qmltc_test_module/methods.h, .qmltc/qmltc_test_module/methods.cpp
      FAILED: tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.h tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.cpp /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.h /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.cpp
      cd /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data && /usr/bin/cmake -E make_directory /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module && /home/noah/qt/build/qt/qtdeclarative/bin/qmltc --header /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.h --impl /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.qmltc/qmltc_test_module/methods.cpp --namespace QmltcTest -i /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/qmldir --resource /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.rcc/qmake_QmltcTests.qrc --resource /home/noah/qt/build/qt/qtdeclarative/tests/auto/qml/qmltc/data/.rcc/qmltc_test_module_raw_qml_0.qrc /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/methods.qml
      Error: /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/methods.qml: Warnings occurred while importing base modules:
      ---
      Error: Failed to find the following builtins: builtins.qmltypes, jsroot.qmltypes (so will use qrc). Import paths used:
       /home/noah/qt/usr/qml
      ---
      
      Error: /home/noah/qt/src/qt/qtdeclarative/tests/auto/qml/qmltc/data/methods.qml:1:1: Warnings occurred while importing module "QtQml":
      import QtQml
      ^^^^^^
      ---
      Error: Failed to import QtQml. Are your import paths set up properly?
      ---
      
      [2326/5293] Automatic MOC for target QuickTemplates2
      ninja: build stopped: subcommand failed.
      

      I've attached my CMakeCache.txt file for qtdeclarative.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-101163
          # Subject Branch Project Status CR V

          Activity

            People

              qtqmlteam Qt Qml Team User
              ndavis Noah Davis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews