summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-03-08 01:51:36 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-11 09:51:20 +0100
commit26e21f603841edcb2a0bda7cefc6d754441387ff (patch)
tree8121dfd23991272783d9a4169dbb0634eaa78ef4 /examples
parent0d5d7cb9b5bcebec79b2de6acb43da1b05ad82f6 (diff)
downloadqtserialport-26e21f603841edcb2a0bda7cefc6d754441387ff.tar.gz
Prefer the library built in the project tree for the examples and tests
This is necessary when the user has a previous QtSerialPort version installed because the examples and tests will pick up the old installed version. That can cause breakages for the "one shot" build in case of API breaks or behavior changes. For consistency, and more importantly for proper explicit usage without raw INCLUDEPATH usage, QMAKE_INCDIR is introduced in place. qtAddLibrary has to be moved to the beginning not to prepend the QtSerialPort include later, and hence to avoid the issue for the example and test builds. This change also removes a left-over line for Mac as it has just been tested that the line is unnecessary. Change-Id: If391b4398a323e0a3eb285bd79d98ec1dd410381 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions