Skip to content
Snippets Groups Projects
Commit b0aa436f authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix compile on linux + qt < 5


Change-Id: Iadb7df3cdb32180f78dace7bc11c7c673399c65b
Reviewed-by: default avatarNicolas Arnaud-Cormos <nicolas@kdab.com>
parent 87bd3ead
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV ...@@ -159,7 +159,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
QProcessEnvironment environment = QProcessEnvironment::systemEnvironment(); QProcessEnvironment environment = QProcessEnvironment::systemEnvironment();
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) && (defined(Q_OS_MAC) || defined(Q_OS_LINUX)) #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 #endif
if (QFileInfo(applicationPath).exists()) { if (QFileInfo(applicationPath).exists()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment