Having forms place their compiled header and sources in other directories
Jamie_Edwards last edited by
I'm unsure as to how I can achieve the title. What I'd like to do is have a form in it's own directory and when I compile the project, it's resulting header and source files in completely different directories.
For example, I have a ui_mainwindow file which is in forms/ui/mainWindow. When I compile the project, I'd like the resulting header to be placed in includes/ui/mainWindow.h and the source in src/ui/mainWindow.cpp.
Is this possible to do with qmake?
Hi and welcome to devnet,
You seem to try to create a pretty complicated source tree structure. Why not group your sources by logical blocks rather than many small subdirs containing one file each. That also makes its navigation pretty complexe.