Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. qmllint does not find QtQuick module
Forum Updated to NodeBB v4.3 + New Features

qmllint does not find QtQuick module

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 513 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.
  • A Offline
    A Offline
    asconcepcion
    wrote on last edited by
    #1

    Hi,

    I'm trying to use qmllint from a docker container based on ubuntu 22.04.

    For this purpose, I'm installing the following ubuntu packages: qt6-base-dev, qt6-declarative-dev, qt6-base-dev-tools and qt6-declarative-dev-tools. The problem is that if I try to run qmllint I get the following warning messages:

    $ /usr/lib/qt6/bin/qmllint --qmldirs /usr/lib/x86_64-linux-gnu/qt6/qml/ main.qml
    
    Warning: main.qml:1:1: Warnings occurred while importing module "QtQuick":
    import QtQuick
    ^^^^^^
    ---
    Warning: Failed to import QtQuick. Are your include paths set up properly?
    ---
    
    Warning: main.qml:4:5: Binding assigned to "width", but no property "width" exists in the current element.
        width: 640
        ^^^^^
    Warning: main.qml:5:5: Binding assigned to "height", but no property "height" exists in the current element.
        height: 480
        ^^^^^^
    

    It looks like it cannot find the Qt installation path. Does anyone know how to fix it?

    Thanks,
    asconcepcion.

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved