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. Impicit import 'QtQml' of QML module 'QtQuick' not found
Forum Updated to NodeBB v4.3 + New Features

Impicit import 'QtQml' of QML module 'QtQuick' not found

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 4 Posters 1.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.
  • S Offline
    S Offline
    sable
    wrote on last edited by sable
    #1

    I have started with QT6, using ubuntu 23.10 and face this problem
    I have already installed qt6-base-dev, qt6-declarative-dev and qtcreator via apt install command.
    I followed the official book about qt6 and created Qt Quick UI Project. And I changed nothing in created project, but qt shoved an error. Also qt showed a clue: Screenshot from 2024-06-02 10-35-52.png
    Content of folder is:
    Screenshot from 2024-06-02 10-34-18.png
    What is wrong?

    F 1 Reply Last reply
    1
    • U Offline
      U Offline
      Union.Cane
      wrote on last edited by Union.Cane
      #2

      I've got the same Problem with Windows 10. I do a full new installation, and want to compile my test project with visual studio 2022. This works, but i can't edit the qml files with QTCreator or QT Studio. I ran into the same error.

      Screenshot (12).png

      I check the system environments, all path entries are valid. I add:

      C:\Qt\Tools\QtCreator\bin
      C:\Qt\6.7.0\msvc2019_64\bin
      C:\Qt\Tools\QtCreator\bin\qml

      But nothing helps. I think some search path is missing, but i don't know which one.

      Anyone any solutions?

      1 Reply Last reply
      0
      • S sable

        I have started with QT6, using ubuntu 23.10 and face this problem
        I have already installed qt6-base-dev, qt6-declarative-dev and qtcreator via apt install command.
        I followed the official book about qt6 and created Qt Quick UI Project. And I changed nothing in created project, but qt shoved an error. Also qt showed a clue: Screenshot from 2024-06-02 10-35-52.png
        Content of folder is:
        Screenshot from 2024-06-02 10-34-18.png
        What is wrong?

        F Offline
        F Offline
        fixgoats
        wrote on last edited by
        #3

        @sable I was having a similar issue on Ubuntu as well. I needed to install qml6-module-qtqml and that fixed the warning. Which is odd because the base project compiled just fine before then.

        V 1 Reply Last reply
        1
        • F fixgoats

          @sable I was having a similar issue on Ubuntu as well. I needed to install qml6-module-qtqml and that fixed the warning. Which is odd because the base project compiled just fine before then.

          V Offline
          V Offline
          vlmx
          wrote last edited by
          #4

          @fixgoats said in Impicit import 'QtQml' of QML module 'QtQuick' not found:

          @sable I was having a similar issue on Ubuntu as well. I needed to install qml6-module-qtqml and that fixed the warning. Which is odd because the base project compiled just fine before then.

          Install this package solved it for me (Qt 6.4.2 in Ubuntu 24.04). Thank you!

          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