I have a QML application. I have created my own QML module. called MyCustomModule. The module has the appropriate qmldir file, which is registered to the corresponding my_custom_module.qrc file. I also add the import path with addImportPath("qrc:///my_custom_module"); on application startup in C++. I am using CMake instead of QMake.
Where ever I import MyCustomModule QtCreator tells me QML module not found, but when I build the application builds without any issues and runs.
Am I missing something?