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. QML Module not found with registered types
Forum Updated to NodeBB v4.3 + New Features

QML Module not found with registered types

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 167 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
    sandro4912
    wrote on last edited by sandro4912
    #1

    I have the following Issue:

    In main.qml

    f5bb7882-0104-47bb-be23-e2d160bc7c2c-image.png

    These types are registered in main.cpp:

    e745d480-b943-490b-9bba-f253dc8f4974-image.png

    Thse classes are defined in the include folder:

    My folder structure looks like this:

    a4997bc8-5c83-459d-85e0-de8fb6eade18-image.png

    Do I have to modify QML_IMPORT_PATH in the pro file? I added src and include folder but it does not work:

    QML_IMPORT_PATH += src
    QML_IMPORT_PATH += include
    
    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