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>
16 lines
391 B
Prolog
16 lines
391 B
Prolog
QT += widgets
|
|
qtHaveModule(printsupport): QT += printsupport
|
|
|
|
HEADERS = imagemodel.h \
|
|
mainwindow.h \
|
|
pixeldelegate.h
|
|
SOURCES = imagemodel.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
pixeldelegate.cpp
|
|
RESOURCES += images.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/pixelator
|
|
INSTALLS += target
|