diff --git a/tests/system/shared/qtcreator.py b/tests/system/shared/qtcreator.py
index 3911aa62bb9f37bccbbb892ce4d155a5767f544c..ebc6a987fd1d5ee48163848fb13e53c4b54bf629 100644
--- a/tests/system/shared/qtcreator.py
+++ b/tests/system/shared/qtcreator.py
@@ -63,7 +63,7 @@ else:
     cwd = os.getcwd()       # current dir is directory holding qtcreator.py
     cwd+="/../../settings/unix"
     defaultQtVersion = "Desktop Qt 4.7.4 for GCC (Qt SDK)"
-srcPath = sdkPath + "/src"
+srcPath = os.getenv("SYSTEST_SRCPATH", sdkPath + "/src")
 
 cwd = os.path.abspath(cwd)
 tmpSettingsDir = tempDir()