[Qt-interest] qmake: target app depends on target lib
Lorenzo Bettini
bettini at dsi.unifi.it
Sat Nov 7 15:00:46 CET 2009
Hi
I have a project with a lib subdir and an examples subdir (the library
is built statically).
In the examples subdir I have
INCLUDEPATH += . ../lib
DEPENDPATH += . ../lib
LIBS += -L../lib -l<mylib>
and the examples app is correctly compiled and linked to the library.
However, if I change the library, the examples app is not automatically
rebuilt...
is there a way to set this dependency?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
More information about the Qt-interest-old
mailing list