586adeabe4
this is much more elegant than the so far propagated !isEmpty(QT.foo.name). also replace feature-specific tests (no-gui and no-widgets) and the obsolete contains(QT_CONFIG, foo) syntax. Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
22 lines
531 B
Prolog
22 lines
531 B
Prolog
QT += widgets
|
|
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
|
|
|