|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# 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