Qt Reference Documentation

gradients.pro Example File

demos/gradients/gradients.pro
 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
         QT += opengl
 }

 # install
 target.path = $$[QT_INSTALL_DEMOS]/gradients
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
 sources.path = $$[QT_INSTALL_DEMOS]/gradients
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();