Hi, long time no post.
I have installed the Qt Creator 2.0 beta and have decided to try
shadow builds (as they are enabled by default). The problem I have is
that some of my qmake .pro files are assuming that targets will end up
in ./debug, ./release, etc. which no longer works. For example, the
following snippet will set a dependency:
CONFIG(debug, debug|release):OUTDIR = debug
else:OUTDIR = release
PRE_TARGETDEPS += ../ProjectName/$${OUTDIR}/someLib.a
This will now fail as the shadow build path is different.
So, what I want to do is simple - I want to be able to get the shadow
build location from my .pro file. I've tried every qmake variable I
can think of but none of them help. DESTDIR is always blank for
example. The closest I've found is OUT_PWD but I really need one that
specifies a folder a level about this.
Before I give up on what seems to be a useful feature can anyone offer
me some advice? I store all my dependency information in the main
.pro files and want to avoid anything that requires a user to set (so
changing .pro.user is out of the question.)
QMAKE_SHADOW_BUILD_DIR would be great obviously. :)
Thanks in advance.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator