forked from qt-creator/qt-creator
Fix compile on linux + qt < 5
Change-Id: Iadb7df3cdb32180f78dace7bc11c7c673399c65b Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
This commit is contained in:
@@ -159,7 +159,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
|
||||
QProcessEnvironment environment = QProcessEnvironment::systemEnvironment();
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && (defined(Q_OS_MAC) || defined(Q_OS_LINUX))
|
||||
enviroment.insert(QLatin1String("DESIGNER_DONT_USE_SHARED_MEMORY"), QLatin1String("1"));
|
||||
environment.insert(QLatin1String("DESIGNER_DONT_USE_SHARED_MEMORY"), QLatin1String("1"));
|
||||
#endif
|
||||
|
||||
if (QFileInfo(applicationPath).exists()) {
|
||||
|
Reference in New Issue
Block a user