From a9e3db228370e46ad22b1e6359d9d51fffd2330f Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgad.shaneh@audiocodes.com> Date: Sun, 3 Feb 2013 20:48:34 +0200 Subject: [PATCH] Project: Only add qbs file if it exists Change-Id: I2d49644b63bad9b7ffa7d088f443ed6ec2fc85ed Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com> --- qtcreator.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtcreator.pri b/qtcreator.pri index cc16ef9079e..36efd9fbf94 100644 --- a/qtcreator.pri +++ b/qtcreator.pri @@ -187,4 +187,5 @@ qt:greaterThan(QT_MAJOR_VERSION, 4) { DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x040900 } -OTHER_FILES += $$replace(_PRO_FILE_, \\.pro$, .qbs) +QBSFILE = $$replace(_PRO_FILE_, \\.pro$, .qbs) +exists($$QBSFILE):OTHER_FILES += $$QBSFILE -- GitLab