Qmake.conf and project files from parent pointer

I noticed that if you include your project file (framework in my case) in your main .pro file like so:

TEMPLATE = subdirs
SUBDIRS += \
    ../framework \
    plugins \
    apps

OTHER_FILES += \
    .qmake.conf

      

File options

.qmake.conf won't apply to framework.pro from .. /framework/framework.pro

This is normal?

Well, on the other hand, is this the usual way how I organize this project? The idea is to include a frame project that is common to many other projects and can be built with the project in one shot.

+3


source to share


1 answer


.qmake.conf is searched in the current and parent directory. This means that when qmake builds framework.pro it will look for .qmake.conf in the parent directory and will not find it.



+1


source







All Articles