2011-04-27 10:05:43 +00:00
|
|
|
SOURCES += main.cpp gradients.cpp
|
|
|
|
HEADERS += gradients.h
|
|
|
|
|
|
|
|
SHARED_FOLDER = ../shared
|
|
|
|
|
|
|
|
include($$SHARED_FOLDER/shared.pri)
|
|
|
|
|
|
|
|
RESOURCES += gradients.qrc
|
|
|
|
contains(QT_CONFIG, opengl) {
|
|
|
|
DEFINES += QT_OPENGL_SUPPORT
|
2012-02-23 06:26:29 +00:00
|
|
|
QT += opengl
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
2012-02-23 06:26:29 +00:00
|
|
|
QT += widgets
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# install
|
2011-06-23 14:46:25 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
|
2011-04-27 10:05:43 +00:00
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
|
2011-06-23 14:46:25 +00:00
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
|
2011-04-27 10:05:43 +00:00
|
|
|
INSTALLS += target sources
|
|
|
|
|