Commit d6e46f7a authored by Benito van der Zander's avatar Benito van der Zander Committed by Erik Verbruggen

add always defined macro Q_CREATOR_RUN to cpp parser

Merge-request: 336
Reviewed-by: default avatarErik Verbruggen <>

Change-Id: Iefd0c60bb3e78047e28dcff33cc62c15ed11f711
Reviewed-on: default avatarQt Sanity Bot <>
Reviewed-by: default avatarChristian Kamm <>
parent ca350468
......@@ -1375,9 +1375,10 @@ void Preprocessor::processIfdef(bool checkUndefined,
} else if (env->isBuiltinMacro(macroName)) {
value = true;
} else if (macroName == "Q_CREATOR_RUN") {
value = true;
if (checkUndefined)
value = ! value;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment