QT creator can't seem to find the module plugin for a separate directory
-
Hello
I'm relatively new to QT and I've been struggling with keeping the files I use for creating my project organized.
Currently I'm trying to store the backend c++ files of my project into a separate folder within the project as can be seen in the picture.
However when trying to access the library from the Screen01.ui.qml file, I receive the following error log:
The backend c++ files have the QML_ELEMENT property and it works if I store them in the same content folder. So I'm really stumped as to why it doesn't work for when I store it into a separate folder. I surmise that I have to alter the CMakeLists.txt, but I really have no clue on how to approach this.
Also this is my first time posting on this forum. If there is anything I should do to change the way I pose my question on this forum, please feel free to tell me.
I hope someone can aid me on this issue.Kind regards
Pyrus