c527dd44be
This makes the structure of the examples after an 'make install' similar to the one in a 'developer build'. Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454 Reviewed-by: Martin Smith <martin.smith@digia.com>
24 lines
679 B
Prolog
24 lines
679 B
Prolog
QT += widgets
|
|
!isEmpty(QT.printsupport.name): QT += printsupport
|
|
#unix:contains(QT_CONFIG, 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
|
|
sources.files = $$SOURCES $$RESOURCES *.pro images $$HEADERS
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/spreadsheet
|
|
INSTALLS += target sources
|
|
|