- Qt 5.5
- Qt Widgets
- Style Sheet Example
- stylesheet.pro Example File
- Qt 5.5.1 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