[Qt-interest] QMake lib dependency

Constantin Cristian constantin.a.cristian at gmail.com
Tue Apr 6 16:14:26 CEST 2010


Hi all,

I am trying to compile a app with some libs as dependency.
the config is something like this:

CONFIG(debug, debug|release) {
LIBS += -L../ui/model/debug -L../ui/view/debug
} else {
LIBS += -L../ui/model/release -L../ui/view/release
}
LIBS += -lmodel -lview

My problem is that that lib is often updated and when app is build it
isn't relinked if model or view libraries change.
Is there a way to tell make that it should relink app if the date of
the lib changed or even force a relink every time I build app?

Thank you,
Cristian



More information about the Qt-interest-old mailing list