gradients.pro Example File | Qt Widgets 5.12.8

Qt 5.12 | Qt Widgets | Gradients | gradients.pro Example File

Qt 5.12.8 Reference Documentation

# gradients.pro Example File

painting/gradients/gradients.pro

      SOURCES += main.cpp gradients.cpp
      HEADERS += gradients.h

      SHARED_FOLDER = ../shared

      include($$SHARED_FOLDER/shared.pri)

      RESOURCES += gradients.qrc
      QT += widgets

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/gradients
      INSTALLS += target