f13b0b2cf2
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>
23 lines
560 B
Prolog
23 lines
560 B
Prolog
QT += widgets
|
|
requires(qtConfig(treeview))
|
|
qtHaveModule(printsupport): QT += printsupport
|
|
#unix:qtHaveModule(dbus): QT += dbus widgets
|
|
|
|
HEADERS += printview.h spreadsheet.h spreadsheetdelegate.h spreadsheetitem.h
|
|
SOURCES += main.cpp \
|
|
printview.cpp \
|
|
spreadsheet.cpp \
|
|
spreadsheetdelegate.cpp \
|
|
spreadsheetitem.cpp
|
|
RESOURCES += spreadsheet.qrc
|
|
|
|
build_all:!build_pass {
|
|
CONFIG -= build_all
|
|
CONFIG += release
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/spreadsheet
|
|
INSTALLS += target
|
|
|