diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-06-06 13:08:41 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-06-06 12:27:41 +0000 |
commit | 053766d7968296b171aea1410a0e00184309185c (patch) | |
tree | c05677910c0e98b46bc1a2632dc25ea4f29f4882 /header.MIT | |
parent | ac16a1228c0d16012658a97f9de4825b5a2ae97f (diff) |
Fix Standalone Example build when crosscompiling
Added qt_examples_begin() and qt_examples_end() macros to setup the
example list so it can be re-used in other projects.
When cross-compiling, we also need to set
CMAKE_FIND_ROOT_PATH_MODE_PACKAGE to BOTH in order for find_package()
to work correctly.
Removed support for building the whole qtbase/examples folder as a
standalone project. Building examples is only supported when building
the whole of qtbase (qtbase + examples together) or each individual
example is built separately against an installed Qt version.
Change-Id: I9d26b94b48b95af230b76ab618becb21d2d45581
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'header.MIT')
0 files changed, 0 insertions, 0 deletions