9fe5139e73
Printsupport module is not that interesting in embedded environments, and it also does not compile at the moment for WEC7. Fixed qtbase examples to obey the availability of printsupport module. Change-Id: I960d1b628b9ca82450aa3b0df8dd101b2544ee12 Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
24 lines
574 B
Prolog
24 lines
574 B
Prolog
TEMPLATE = app
|
|
TARGET = textedit
|
|
|
|
CONFIG += qt warn_on
|
|
|
|
HEADERS = textedit.h
|
|
SOURCES = textedit.cpp \
|
|
main.cpp
|
|
|
|
RESOURCES += textedit.qrc
|
|
build_all:!build_pass {
|
|
CONFIG -= build_all
|
|
CONFIG += release
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/textedit
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.doc images
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/richtext/textedit
|
|
INSTALLS += target sources
|
|
|
|
QT += widgets
|
|
!isEmpty(QT.printsupport.name): QT += printsupport
|