From fffab73c45d4da636889c0cdd9f02cb113ad7a37 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Thu, 12 Oct 2017 23:48:58 +0200 Subject: Enable building on Windows for MSVC, MingW and Android Change-Id: I9563fea0619b540f8e4dd929bf72a3c4178066bb Reviewed-by: Dominik Holland --- mkspecs/features/ivigenerator.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkspecs') diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf index 6dcb53d..b4f291d 100644 --- a/mkspecs/features/ivigenerator.prf +++ b/mkspecs/features/ivigenerator.prf @@ -19,7 +19,7 @@ isEmpty(QFACE_SOURCES): error("QFACE_SOURCES must be set!") } # See the win32 section, why this is needed -equals(QMAKE_HOST.os, Windows):!contains(CONFIG, debug_and_release) { +win32-msvc*:!contains(CONFIG, debug_and_release) { error("The ivigenerator works only in the debug_and_release configuration on windows") } @@ -136,7 +136,7 @@ QMAKE_EXTRA_TARGETS += Makefile qface_sources # where we can envorce the run of the generator and qmake. # Afterwards the sub makefiles are read (Makefile.debug/release), which have been # regenerated before starting NMAKE on them. -equals(QMAKE_HOST.os, Windows) { +win32-msvc* { qmake.depends = $$relative_path($$PRI, $$OUT_PWD) debug.depends = qmake -- cgit v1.2.1