Can I make subprojects inherit options defined in the root project?
-
For example, when I define the following libs in the .pro file for root
LIBS += -L/usr/lib \
-lopencv_imgproc \
-lopencv_highgui \
-lopencv_coreI'd like that all children projects would inherit this dependency.
Is it possible?
Thanks in advance. -
-
You can use .pri file in subprojects or define some variables in .qmake.conf