gradients.pro Example Filepainting/gradients/gradients.proSOURCES += 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 } QT += widgets # install target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients INSTALLS += target sources |