2012-06-13 10:59:54 +00:00
|
|
|
QT += widgets
|
2018-01-08 12:43:04 +00:00
|
|
|
requires(qtConfig(treeview))
|
2012-12-21 11:09:56 +00:00
|
|
|
qtHaveModule(printsupport): QT += printsupport
|
|
|
|
#unix:qtHaveModule(dbus): QT += dbus widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/spreadsheet
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2011-04-27 10:05:43 +00:00
|
|
|
|