Hello again, here is my next question
My program is split into multiple directories, the structure looks like this:
project.pro
main.cpp
settings/settings.pri
settings/settingsdialog.cpp
settings/settingsdialog.ui
settings/pages/pages.pri
settings/pages/generalpage.cpp
settings/pages/generalpage.ui
Now if I build the Makefile generated by qmake the "moc_*.cpp"'s and the "ui_*.h"'s are put into the main folders which requires scary includes like "../../ui_generalpage.h" in the subfolders.
Is there a way to get "uic" and "moc" put the output files in the directories where their input source is?
If there's a way doing that with subprojects instead of project includes without creating a static/dynamic lib for the subfolders please tell me
Thanks
Bookmarks