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>
20 lines
333 B
Prolog
20 lines
333 B
Prolog
SOURCES += main.cpp pathstroke.cpp
|
|
HEADERS += pathstroke.h
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
RESOURCES += pathstroke.qrc
|
|
|
|
qtHaveModule(opengl) {
|
|
DEFINES += QT_OPENGL_SUPPORT
|
|
QT += opengl
|
|
}
|
|
QT += widgets
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/pathstroke
|
|
INSTALLS += target
|
|
|