From 54ada1607c56616e981435a902094cdf8f10f69d Mon Sep 17 00:00:00 2001 From: Mika Salmela Date: Fri, 3 Jul 2015 11:33:36 +0300 Subject: 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 --- examples/qt3d/basicshapes-cpp/basicshapes-cpp.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/qt3d/basicshapes-cpp') 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!" ) } -- cgit v1.2.3