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 <oswald.buddenhagen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Rainer Keller 2018-01-08 13:43:04 +01:00
parent b03133231b
commit f13b0b2cf2
112 changed files with 115 additions and 1 deletions

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp \
dialog.cpp

View File

@ -1,5 +1,6 @@
TEMPLATE = app
QT += widgets
requires(qtConfig(treeview))
CONFIG -= app_bundle
CONFIG += c++11

View File

@ -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

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listview))
HEADERS = randomlistmodel.h
SOURCES = randomlistmodel.cpp \

View File

@ -1,5 +1,6 @@
TARGET = bearermonitor
QT = core gui network widgets
requires(qtConfig(treeview))
HEADERS = sessionwidget.h \
bearermonitor.h

View File

@ -1,4 +1,5 @@
QT += network widgets
requires(qtConfig(combobox))
HEADERS = client.h
SOURCES = client.cpp \

View File

@ -1,4 +1,5 @@
QT += network widgets
requires(qtConfig(itemviews))
SOURCES = main.cpp searchbox.cpp googlesuggest.cpp
HEADERS = searchbox.h googlesuggest.h

View File

@ -12,6 +12,7 @@ SOURCES = chatdialog.cpp \
FORMS = chatdialog.ui
QT += network widgets
requires(qtConfig(udpsocket))
requires(qtConfig(listwidget))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/network-chat

View File

@ -10,6 +10,8 @@ FORMS += certificateinfo.ui \
sslclient.ui \
sslerrors.ui
QT += network widgets
requires(qtConfig(listwidget))
requires(qtConfig(combobox))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/securesocketclient

View File

@ -1,4 +1,5 @@
QT += network widgets
requires(qtConfig(filedialog))
HEADERS += addtorrentdialog.h \
bencodeparser.h \

View File

@ -1,5 +1,6 @@
TEMPLATE = app
QT += widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp \
widget.cpp \

View File

@ -1,4 +1,5 @@
QT += concurrent widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp imagescaling.cpp
HEADERS += imagescaling.h

View File

@ -7,6 +7,7 @@ SOURCES = bookdelegate.cpp main.cpp bookwindow.cpp
FORMS = bookwindow.ui
QT += sql widgets widgets
requires(qtConfig(tableview))
target.path = $$[QT_INSTALL_EXAMPLES]/sql/books
INSTALLS += target

View File

@ -3,6 +3,7 @@ HEADERS = ../connection.h \
SOURCES = main.cpp \
tableeditor.cpp
QT += sql widgets
requires(qtConfig(tableview))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/cachedtable

View File

@ -8,6 +8,7 @@ SOURCES = imageitem.cpp \
main.cpp \
view.cpp
QT += sql widgets
requires(qtConfig(combobox))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/drilldown

View File

@ -8,6 +8,7 @@ SOURCES = dialog.cpp \
QT += sql widgets
QT += xml widgets
requires(qtConfig(tableview))
EXAMPLE_FILES = albumdetails.xml

View File

@ -5,6 +5,7 @@ SOURCES = customsqlmodel.cpp \
editablesqlmodel.cpp \
main.cpp
QT += sql widgets
requires(qtConfig(tableview))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/querymodel

View File

@ -1,6 +1,7 @@
HEADERS = ../connection.h
SOURCES = relationaltablemodel.cpp
QT += sql widgets
requires(qtConfig(tableview))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/relationaltablemodel

View File

@ -2,6 +2,7 @@ TEMPLATE = app
TARGET = sqlbrowser
QT += sql widgets
requires(qtConfig(tableview))
HEADERS = browser.h connectionwidget.h qsqlconnectiondialog.h
SOURCES = main.cpp browser.cpp connectionwidget.cpp qsqlconnectiondialog.cpp

View File

@ -2,6 +2,7 @@ HEADERS = window.h
SOURCES = main.cpp \
window.cpp
QT += sql widgets
requires(qtConfig(combobox))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/sqlwidgetmapper

View File

@ -1,6 +1,7 @@
HEADERS = ../connection.h
SOURCES = tablemodel.cpp
QT += sql widgets
requires(qtConfig(tableview))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/sql/tablemodel

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport
HEADERS = mainwindow.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listwidget))
HEADERS = window.h \
animation.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = screenshot.h
SOURCES = main.cpp \

View File

@ -4,6 +4,7 @@ SOURCES = main.cpp \
RESOURCES = systray.qrc
QT += widgets
requires(qtConfig(combobox))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/desktop/systray

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = window.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = dialog.h
SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listwidget))
HEADERS = tabdialog.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tablewidget))
HEADERS = droparea.h \
dropsitewindow.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \
pieceslist.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = imagewidget.h \
mainwidget.h

View File

@ -1,4 +1,5 @@
QT += opengl widgets
requires(qtConfig(combobox))
qtConfig(opengles.|angle|dynamicgl): error("This example requires Qt to be configured with -opengl desktop")

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(fontcombobox))
HEADERS = mainwindow.h \
diagramitem.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(fontcombobox))
SOURCES += main.cpp
SOURCES += customproxy.cpp embeddeddialog.cpp

View File

@ -17,6 +17,7 @@ FORMS += \
form.ui
QT += widgets
requires(qtConfig(treewidget))
qtHaveModule(opengl): QT += opengl
# install

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listview))
SOURCES = adddialog.cpp \
addresswidget.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \
pieview.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = colorlisteditor.h \
window.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treeview))
HEADERS = mysortfilterproxymodel.h \
window.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treeview))
SOURCES = main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treeview))
FORMS = mainwindow.ui
HEADERS = mainwindow.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listview))
HEADERS = filelistmodel.h \
window.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tableview))
HEADERS += freezetablewidget.h
SOURCES += main.cpp freezetablewidget.cpp

View File

@ -1,5 +1,6 @@
TEMPLATE = app
QT += widgets
requires(qtConfig(treeview))
HEADERS += model.h
SOURCES += model.cpp main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tableview))
qtHaveModule(printsupport): QT += printsupport
HEADERS = imagemodel.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listview))
HEADERS = mainwindow.h \
piecesmodel.h \

View File

@ -6,6 +6,7 @@ SOURCES = domitem.cpp \
main.cpp \
mainwindow.cpp
QT += xml widgets
requires(qtConfig(filedialog))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpledommodel

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treeview))
HEADERS = treeitem.h \
treemodel.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(datawidgetmapper))
HEADERS = window.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tableview))
HEADERS = delegate.h
SOURCES = delegate.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treeview))
qtHaveModule(printsupport): QT += printsupport
#unix:qtHaveModule(dbus): QT += dbus widgets

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tablewidget))
HEADERS = stardelegate.h \
stareditor.h \

View File

@ -1,4 +1,5 @@
QT += core gui widgets
requires(qtConfig(treeview))
TARGET = storageview
TEMPLATE = app
SOURCES += storagemodel.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = dialog.h
SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = dialog.h
SOURCES = dialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listwidget))
qtHaveModule(printsupport): QT += printsupport
HEADERS = mainwindow.h

View File

@ -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

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h \
mdichild.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = mainwindow.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \
window.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
qtHaveModule(printsupport): QT += printsupport
FORMS = mainwindowbase.ui

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = imagecomposer.h
SOURCES = imagecomposer.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \
window.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = renderarea.h \
window.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = mainwindow.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tablewidget))
qtHaveModule(printsupport): QT += printsupport
HEADERS = detailsdialog.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS = highlighter.h \
mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport
TEMPLATE = app

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
HEADERS += mainwindow.h \
previewform.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(completer))
HEADERS = fsmodel.h \
mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(completer))
HEADERS = mainwindow.h \
textedit.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(listwidget))
HEADERS = languagechooser.h \
mainwindow.h

View File

@ -1,3 +1,6 @@
QT_FOR_CONFIG += widgets
requires(qtConfig(inputdialog))
TEMPLATE = subdirs
SUBDIRS = plugins app

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = regexpdialog.h
SOURCES = regexpdialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(treewidget))
HEADERS = regularexpressiondialog.h
SOURCES = regularexpressiondialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tablewidget))
HEADERS = locationdialog.h \
mainwindow.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(completer))
HEADERS = treemodelcompleter.h \
mainwindow.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(undoview))
SOURCES += main.cpp mainwindow.cpp commands.cpp document.cpp
HEADERS += mainwindow.h commands.h document.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(undoview))
HEADERS = commands.h \
diagramitem.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
SOURCES = addressbook.cpp \
finddialog.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
SOURCES = addressbook.cpp \
finddialog.cpp \

View File

@ -1,5 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
SOURCES = main.cpp
# install

View File

@ -3,6 +3,7 @@ TARGET = mv_readonly
TEMPLATE = app
QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \
mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_formatting
TEMPLATE = app
QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \
mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_changingmodel
TEMPLATE = app
QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \
mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_headers
TEMPLATE = app
QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \
mymodel.cpp

View File

@ -3,6 +3,7 @@ TARGET = mv_edit
TEMPLATE = app
QT += widgets
requires(qtConfig(tableview))
SOURCES += main.cpp \
mainwindow.cpp \

View File

@ -1,6 +1,7 @@
TARGET = mv_tree
TEMPLATE = app
QT += widgets
requires(qtConfig(treeview))
SOURCES += main.cpp \
mainwindow.cpp
HEADERS += mainwindow.h

View File

@ -1,6 +1,7 @@
TARGET = mv_selections
TEMPLATE = app
QT += widgets
requires(qtConfig(treeview))
SOURCES += main.cpp \
mainwindow.cpp
HEADERS += mainwindow.h

View File

@ -2,6 +2,7 @@ TEMPLATE = app
TARGET = notepad
QT += printsupport
requires(qtConfig(fontdialog))
SOURCES += \
main.cpp\

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(tableview))
SOURCES = main.cpp

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h
SOURCES = main.cpp \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = characterwidget.h \
mainwindow.h

View File

@ -1,6 +1,7 @@
# Nokia Qt Examples: elided label example
QT += core gui widgets
requires(qtConfig(combobox))
TARGET = elidedlabel
TEMPLATE = app

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = iconpreviewarea.h \
iconsizespinbox.h \

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(filedialog))
qtHaveModule(printsupport): QT += printsupport
HEADERS = imageviewer.h

View File

@ -1,4 +1,5 @@
QT += widgets
requires(qtConfig(combobox))
HEADERS = window.h
SOURCES = main.cpp \

Some files were not shown because too many files have changed in this diff Show More