7c7bd44669
printsupport features are only available if the module is available for the configuration. Every printer feature check has to be coupled with a check for the module itself. Change-Id: Id2ca84e71d5d74463d0ff35e8b18b252a779a883 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
24 lines
340 B
Prolog
24 lines
340 B
Prolog
TEMPLATE = app
|
|
TARGET = notepad
|
|
|
|
QT += widgets
|
|
|
|
qtHaveModule(printsupport): QT += printsupport
|
|
requires(qtConfig(fontdialog))
|
|
|
|
SOURCES += \
|
|
main.cpp\
|
|
notepad.cpp
|
|
|
|
HEADERS += notepad.h
|
|
|
|
FORMS += notepad.ui
|
|
|
|
RESOURCES += \
|
|
notepad.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/notepad
|
|
INSTALLS += target
|
|
|