path: root/tools/qmake/mkspecs/features/functions.prf
diff options
authorJocelyn Turcotte <>2014-08-11 14:33:42 +0200
committerJocelyn Turcotte <>2014-08-12 11:12:20 +0200
commitd1ddc17b0fcb9ce809a81ddd71d0bc864b2738c9 (patch)
tree3a46ec58e08c02813a76c96924bb71ad9548f162 /tools/qmake/mkspecs/features/functions.prf
parentda4ea674c75579f2040acd0ec55c68b00898f4d0 (diff)
Opt-out of the build on platforms where we won't build successfully
To allow the qt5.git integration, allow the build to succeed if the repository is checked out on a platform that we don't maintain. This is the initial list of platforms that we want the integration to succeed and we can add new ones once we start maintaining them. Change-Id: Idce2a84eb8d5b1ef7f14d399fe013f666b479108 Reviewed-by: Andras Becsi <>
Diffstat (limited to 'tools/qmake/mkspecs/features/functions.prf')
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 4dcd8ed18..a4dbb6732 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -1,3 +1,8 @@
+defineTest(isPlatformSupported) {
+ linux-g++|win32-msvc2013|macx-clang: return(true)
+ return(false)
# Map to the correct target type for gyp
defineReplace(toGypTargetType) {
equals(TEMPLATE, "app"):return("executable")