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/corelib/ipc/sharedmemory/sharedmemory.pro | 1 + examples/corelib/mimetypes/mimetypebrowser/mimetypebrowser.pro | 1 + examples/corelib/threads/queuedcustomtype/queuedcustomtype.pro | 1 + examples/corelib/tools/contiguouscache/contiguouscache.pro | 1 + 4 files changed, 4 insertions(+) (limited to 'examples/corelib') diff --git a/examples/corelib/ipc/sharedmemory/sharedmemory.pro b/examples/corelib/ipc/sharedmemory/sharedmemory.pro index c1b634732e..f236fbce33 100644 --- a/examples/corelib/ipc/sharedmemory/sharedmemory.pro +++ b/examples/corelib/ipc/sharedmemory/sharedmemory.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(filedialog)) SOURCES += main.cpp \ dialog.cpp diff --git a/examples/corelib/mimetypes/mimetypebrowser/mimetypebrowser.pro b/examples/corelib/mimetypes/mimetypebrowser/mimetypebrowser.pro index 806e9cbd14..5f0dd79963 100644 --- a/examples/corelib/mimetypes/mimetypebrowser/mimetypebrowser.pro +++ b/examples/corelib/mimetypes/mimetypebrowser/mimetypebrowser.pro @@ -1,5 +1,6 @@ TEMPLATE = app QT += widgets +requires(qtConfig(treeview)) CONFIG -= app_bundle CONFIG += c++11 diff --git a/examples/corelib/threads/queuedcustomtype/queuedcustomtype.pro b/examples/corelib/threads/queuedcustomtype/queuedcustomtype.pro index 8b91fb9ac7..95a7a81526 100644 --- a/examples/corelib/threads/queuedcustomtype/queuedcustomtype.pro +++ b/examples/corelib/threads/queuedcustomtype/queuedcustomtype.pro @@ -6,6 +6,7 @@ SOURCES = main.cpp \ renderthread.cpp \ window.cpp QT += widgets +requires(qtConfig(filedialog)) # install target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/queuedcustomtype diff --git a/examples/corelib/tools/contiguouscache/contiguouscache.pro b/examples/corelib/tools/contiguouscache/contiguouscache.pro index fb2267fc64..304581356a 100644 --- a/examples/corelib/tools/contiguouscache/contiguouscache.pro +++ b/examples/corelib/tools/contiguouscache/contiguouscache.pro @@ -1,4 +1,5 @@ QT += widgets +requires(qtConfig(listview)) HEADERS = randomlistmodel.h SOURCES = randomlistmodel.cpp \ -- cgit v1.2.3