diff options
author | Laszlo Papp <lpapp@kde.org> | 2012-04-17 18:07:07 +0300 |
---|---|---|
committer | Denis Shienkov <scapig@yandex.ru> | 2012-04-27 19:54:15 +0200 |
commit | c6ff1193c052d0dea51b5b746ca196b2c86b9201 (patch) | |
tree | 1bf76bf099be06f777d74dbdcb46549a3d1eba13 /examples/terminal/settingsdialog.cpp | |
parent | f4dd01265b2084131903246c67fcb44b40618bac (diff) | |
download | qtserialport-c6ff1193c052d0dea51b5b746ca196b2c86b9201.tar.gz |
Fix the shadow build with Qt4
The reason is fairly simple: we need the top of the sources, and not the output.
The build of examples fail for out-of-tree builds. The issue to reproduce
without this patch is simple:
1) Go to the "$projectroot" folder.
2) mkdir -p build
3) cd build
4) qmake ../*.pro
5) make
Then there is yet another scenario to reproduce the issue, if the build
directory resides for instance in parallel with the $projectroot. The point is
that the build directory is outside the $projectroot, so not nested:
1) Go to the parent of the "$projectroot" folder.
2) mkdir -p qtserialport-build
3) cd qtserialport-build
4) qmake ../qtserialport/*.pro
5) make
After applying this patch and making sure the .qmake.cache file is deleted,
the build of the examples works. Tested on my Linux desktop box in command line,
and the patch works fine as expected.
Change-Id: I8713fc535bdb3dffff6fab64fe9ea3abb8d290ed
Reviewed-by: Denis Shienkov <scapig@yandex.ru>
Diffstat (limited to 'examples/terminal/settingsdialog.cpp')
0 files changed, 0 insertions, 0 deletions