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 QT += widgets
requires(qtConfig(filedialog))
SOURCES += main.cpp \ SOURCES += main.cpp \
dialog.cpp dialog.cpp

View File

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

View File

@ -6,6 +6,7 @@ SOURCES = main.cpp \
renderthread.cpp \ renderthread.cpp \
window.cpp window.cpp
QT += widgets QT += widgets
requires(qtConfig(filedialog))
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/queuedcustomtype target.path = $$[QT_INSTALL_EXAMPLES]/corelib/threads/queuedcustomtype

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,6 @@
TEMPLATE = app TEMPLATE = app
QT += widgets QT += widgets
requires(qtConfig(combobox))
HEADERS += colorswatch.h mainwindow.h toolbar.h HEADERS += colorswatch.h mainwindow.h toolbar.h
SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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