diff options
author | Mika Salmela <mika.salmela@theqtcompany.com> | 2015-07-03 11:33:36 +0300 |
---|---|---|
committer | Mika Salmela <mika.salmela@theqtcompany.com> | 2015-07-07 18:41:36 +0000 |
commit | 54ada1607c56616e981435a902094cdf8f10f69d (patch) | |
tree | cfb1058eb35b029e91ba6cdf669de5ce1095d9dd /examples/qt3d/basicshapes-cpp | |
parent | 0f3e00f79dac6ebc206963c90173c3251a95d12a (diff) |
Add check for android, ios and winrt compatibility
Some examples can be opened from creator's welcome screen and then
we need to have also check on example's own pro file for android, ios and winrt.
The basicshapes and assimp uses widgets so those won't work properly
on these devices. Give a warning when trying to build.
Change-Id: Id05e306813c38b1e8704d5dd7af17f5690ea08d6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/basicshapes-cpp')
-rw-r--r-- | examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro b/examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro index 546715fca..d1f3f8aaa 100644 --- a/examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro +++ b/examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro @@ -1,3 +1,7 @@ +android|ios|winrt { + warning( "This example is not supported for android, ios, or winrt." ) +} + !include( ../examples.pri ) { error( "Couldn't find the examples.pri file!" ) } |