forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user