From 66592504885819c27e092be779dbe1b668b3bca8 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 17 Apr 2015 22:42:11 +0100 Subject: [PATCH] qmake fix for rebuilding project without any modifications. --- common.pri | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common.pri b/common.pri index 631e31b7a4..66283e092c 100644 --- a/common.pri +++ b/common.pri @@ -17,15 +17,17 @@ VERSION_MINOR = 4 VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR} # Additional include directories, common to most projects. -INCLUDEPATH *= $$ROOT_DIR +# /../omim part is used to avoid qmake issue when whole project +# recompiles without any modification. +INCLUDEPATH *= $$ROOT_DIR/../omim +DEPENDPATH *= $$ROOT_DIR/../omim INCLUDEPATH *= $$ROOT_DIR/3party/boost INCLUDEPATH *= $$ROOT_DIR/3party/glm -# hack for Qt5 qmake to make it faster +# Hack for Qt5 qmake to make it much faster. +# Turns off any external headers modification check (see DEPENDPATH). CONFIG -= depend_includepath -DEPENDPATH *= $$ROOT_DIR - CONFIG *= c++11 !win32* {