2012-06-13 10:59:54 +00:00
|
|
|
QT += widgets
|
|
|
|
!isEmpty(QT.printsupport.name): QT += printsupport
|
2011-05-08 07:13:40 +00:00
|
|
|
#unix:contains(QT_CONFIG, 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
|
2011-06-24 09:18:58 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spreadsheet
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$RESOURCES *.pro images $$HEADERS
|
2011-06-24 09:18:58 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/itemviews/spreadsheet
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|