Qt 6.11 is out! See what's new in the release
blog
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
includefolder:My folder structure looks like this:

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