summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/localenvironmentaspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/localenvironmentaspect.cpp')
-rw-r--r--src/plugins/projectexplorer/localenvironmentaspect.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/plugins/projectexplorer/localenvironmentaspect.cpp b/src/plugins/projectexplorer/localenvironmentaspect.cpp
index 6d9268aba3..faef642a17 100644
--- a/src/plugins/projectexplorer/localenvironmentaspect.cpp
+++ b/src/plugins/projectexplorer/localenvironmentaspect.cpp
@@ -69,23 +69,11 @@ Utils::Environment LocalEnvironmentAspect::baseEnvironment() const
if (BuildConfiguration *bc = runConfiguration()->target()->activeBuildConfiguration()) {
env = bc->environment();
} else { // Fallback for targets without buildconfigurations:
-#if 1
- // workaround for QTBUG-35143
env = Utils::Environment::systemEnvironment();
- env.unset(QLatin1String("QSG_RENDER_LOOP"));
-#else
- env = Utils::Environment::systemEnvironment();
-#endif
runConfiguration()->target()->kit()->addToEnvironment(env);
}
} else if (base == static_cast<int>(SystemEnvironmentBase)) {
-#if 1
- // workaround for QTBUG-35143
- env = Utils::Environment::systemEnvironment();
- env.unset(QLatin1String("QSG_RENDER_LOOP"));
-#else
- env = Utils::Environment::systemEnvironment();
-#endif
+ env = Utils::Environment::systemEnvironment();
}
if (const LocalApplicationRunConfiguration *rc = qobject_cast<const LocalApplicationRunConfiguration *>(runConfiguration()))