Defining qml directory location
I'm trying to build multiple apps from same source and resources, but I can't find out where the resource file's location is defined.
My projects' directory structure is following
App/
src/
main.c
...
qml/
main.qml
...
Project1/
project1.pro
project1.desktop
project1.png
Project2/
project2.pro
project2.desktop
project2.png
In .pro files I have under
OTHER_FILES = ../qml/main.qml
but those files are not copied to the build box and building fails to that.
I also tried symlinking qml to ../qml which will put only the symlink inside the rpm, so that's not a fix either.
Can the qml dir's location be redefined somewhere or do I need to do something else to achieve having multiple projects using the same resources? Perhaps adding a build step where the resources are copied would work?