diff --git a/examples/examples.pro b/examples/examples.pro index 8b96a4b..648b3a6 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -1,5 +1,8 @@ TEMPLATE = subdirs CONFIG -= ordered -qtHaveModule(widgets): SUBDIRS += QWidget QWidget2 QMainWindow +qtHaveModule(widgets) { + SUBDIRS += QWidget QMainWindow + win32: SUBDIRS += Win32Demo + versionAtLeast(QT_VERSION, 5.15.0): SUBDIRS += QWidget2 +} qtHaveModule(quick): SUBDIRS += Quick -win32: qtHaveModule(widgets): SUBDIRS += Win32Demo