styles.pro Example File | Qt Widgets 5.12.8

Qt 5.12 | Qt Widgets | Styles Example | styles.pro Example File

Qt 5.12.8 Reference Documentation

# styles.pro Example File

widgets/styles/styles.pro

      QT += widgets
      requires(qtConfig(combobox))

      HEADERS       = norwegianwoodstyle.h \
                      widgetgallery.h
      SOURCES       = main.cpp \
                      norwegianwoodstyle.cpp \
                      widgetgallery.cpp
      RESOURCES     = styles.qrc

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