stylesheet.pro Example File | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | Style Sheet Example | stylesheet.pro Example File

Qt 5.6.2 Reference Documentation

# stylesheet.pro Example File

widgets/stylesheet/stylesheet.pro

      QT += widgets

      HEADERS       = mainwindow.h \
                      stylesheeteditor.h
      FORMS         = mainwindow.ui \
                      stylesheeteditor.ui
      RESOURCES     = stylesheet.qrc
      SOURCES       = main.cpp \
                      mainwindow.cpp \
                      stylesheeteditor.cpp

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