Important: Please read the Qt Code of Conduct -

QML Module not found with registered types

  • I have the following Issue:

    In main.qml


    These types are registered in main.cpp:


    Thse classes are defined in the include folder:

    My folder structure looks like this:


    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

Log in to reply