From f13b0b2cf234811de73de4e521156cafaec82c1c Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Mon, 8 Jan 2018 13:43:04 +0100 Subject: qtlite: Skip building examples when configured with no-feature-itemviews Compiling the default examples should be possible without compile errors. Task-number: QTBUG-53141 Change-Id: I73d8787241291ae6230861a89b38e91d900fede0 Reviewed-by: Oswald Buddenhagen Reviewed-by: Ulf Hermann --- examples/widgets/mainwindows/application/application.pro | 1 + examples/widgets/mainwindows/dockwidgets/dockwidgets.pro | 1 + examples/widgets/mainwindows/mainwindow/mainwindow.pro | 1 + examples/widgets/mainwindows/mdi/mdi.pro | 1 + examples/widgets/mainwindows/sdi/sdi.pro | 1 + 5 files changed, 5 insertions(+) (limited to 'examples/widgets/mainwindows') diff --git a/examples/widgets/mainwindows/application/application.pro b/examples/widgets/mainwindows/application/application.pro index 0f451754f2..e55655a934 100644 --- a/examples/widgets/mainwindows/application/application.pro +++ b/examples/widgets/mainwindows/application/application.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(filedialog)) HEADERS = mainwindow.h SOURCES = main.cpp \ diff --git a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro index 9cd3128a66..3acded5ed3 100644 --- a/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro +++ b/examples/widgets/mainwindows/dockwidgets/dockwidgets.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(listwidget)) qtHaveModule(printsupport): QT += printsupport HEADERS = mainwindow.h diff --git a/examples/widgets/mainwindows/mainwindow/mainwindow.pro b/examples/widgets/mainwindows/mainwindow/mainwindow.pro index bf92d0e3ca..446d07ee6e 100644 --- a/examples/widgets/mainwindows/mainwindow/mainwindow.pro +++ b/examples/widgets/mainwindows/mainwindow/mainwindow.pro @@ -1,5 +1,6 @@ TEMPLATE = app QT += widgets +requires(qtConfig(combobox)) HEADERS += colorswatch.h mainwindow.h toolbar.h SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp diff --git a/examples/widgets/mainwindows/mdi/mdi.pro b/examples/widgets/mainwindows/mdi/mdi.pro index 2e3c232a56..f2c236f7e2 100644 --- a/examples/widgets/mainwindows/mdi/mdi.pro +++ b/examples/widgets/mainwindows/mdi/mdi.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(filedialog)) HEADERS = mainwindow.h \ mdichild.h diff --git a/examples/widgets/mainwindows/sdi/sdi.pro b/examples/widgets/mainwindows/sdi/sdi.pro index 83f1c0f805..30d07b0665 100644 --- a/examples/widgets/mainwindows/sdi/sdi.pro +++ b/examples/widgets/mainwindows/sdi/sdi.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(filedialog)) HEADERS = mainwindow.h SOURCES = main.cpp \ -- cgit v1.2.3