I'm working on a Qt project which uses the qmake subdirs template to create one makefile for building everything. Recently, the merger of two projects has resulted in some non-Qt code being added to our Qt subdirectories, and with this code came makefiles. Needless to say, I'm not happy with this situation, but we're required to live with this. Among other problems, we now have a name conflict from trying to create a Makefile in each of our subdirectories, since we now have a file with that name in Configuration Management.
One way to deal with this situation is to have a custom name for the Makefile that would be used for our Qt development project, e.g. "makefile_myproj". I know how to modify the qmake app and lib project files to produce a makefile with a given name. What I'm not sure how to do is how to produce a qmake subdirs project file that will use a given alternative makefile name in each of the subdirectories, .i.e. I want each "make" in the subdirectories to use the make file with our custom name, instead of Makefile. What's the best way to go about this?
Bookmarks