Qt Creator 2.0 is coming up with the wrong executable in a QMake project with subdirs. The top-level project file (neurolab_all.pro):
TEMPLATE = subdirs
SUBDIRS = griditems neurolab neurogui neurolib automata thirdparty
All the sub-projects are library projects except for neurolab, whose project file is:
QT += gui
TARGET = neurolab
TEMPLATE = app
SOURCES += main.cpp
release { BUILDDIR=release }
debug { BUILDDIR=debug }
DESTDIR = $$OUT_PWD/../$$BUILDDIR
TEMPDIR = $$OUT_PWD/$$BUILDDIR
OBJECTS_DIR = $$TEMPDIR
MOC_DIR = $$TEMPDIR
UI_DIR = $$TEMPDIR
RCC_DIR = $$TEMPDIR
In the Run Settings for the project, Qt Creator tries to have
neurolab_all-build-desktop/neurolab/debug/neurolab.exe
for the executable, instead of the correct
neurolab_all-build-desktop/debug/neurolab.exe
Due to the utterly brain-dead decision for Qt Creator to put absolute path names in the .pro.user files, I cannot put the .user files in source control. I want a system that works upon checking out the code without a lot of fiddling.
Qt itself is a great product, which I have been using with great success for over 10 years. Qt Creator, on the other hand, is getting more annoying and less functional with each release.



