Qt 5.11 | Qt WebEngine | WebEngine StyleSheet Browser Example | stylesheetbrowser.pro Example File

Qt 5.11.3 Reference Documentation

# stylesheetbrowser.pro Example File

webenginewidgets/stylesheetbrowser/stylesheetbrowser.pro

      TEMPLATE = app
      TARGET = stylesheetbrowser
      QT += webenginewidgets
      CONFIG += c++11

      HEADERS += \
          mainwindow.h \
          stylesheetdialog.h

      SOURCES += \
          main.cpp \
          mainwindow.cpp \
          stylesheetdialog.cpp

      FORMS += \
          mainwindow.ui \
          stylesheetdialog.ui

      RESOURCES += stylesheetbrowser.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/stylesheetbrowser
      INSTALLS += target