Codemodelbackend: Fix location of binary in build dir and install it

Change-Id: I943e13b92bdaa2ee1e6ead81788da45b40926f60
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2015-06-10 16:06:27 +02:00
parent f7c98fa6ab
commit 53a941de69
2 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ namespace {
QString backendProcessPath() QString backendProcessPath()
{ {
return QCoreApplication::applicationDirPath() return Core::ICore::libexecPath()
+ QStringLiteral("/codemodelbackend") + QStringLiteral("/codemodelbackend")
+ QStringLiteral(QTC_HOST_EXE_SUFFIX); + QStringLiteral(QTC_HOST_EXE_SUFFIX);
} }

View File

@@ -1,4 +1,5 @@
include(codemodelbackend.pri) include(codemodelbackend.pri)
DESTDIR = $$IDE_BIN_PATH DESTDIR = $$IDE_LIBEXEC_PATH
target.path = /bin target.path = $$QTC_PREFIX/bin # FIXME: libexec, more or less
INSTALLS += target