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
|
2012-12-21 11:09:56 +00:00
|
|
|
qtHaveModule(opengl) {
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
2012-11-26 13:04:31 +00:00
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/gradients
|
2012-11-27 19:40:16 +00:00
|
|
|
INSTALLS += target
|
2011-04-27 10:05:43 +00:00
|
|
|
|