customdialogs.pro Example File | Qt WebEngine 5.9

Qt 5.9 | Qt WebEngine | WebEngine Qt Quick Custom Dialogs Example | customdialogs.pro Example File

Qt 5.9.9 Reference Documentation

# customdialogs.pro Example File

webengine/customdialogs/customdialogs.pro

      QT += webengine

      HEADERS += \
          server.h

      SOURCES += \
          main.cpp \
          server.cpp

      RESOURCES += \
          customdialogs.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/webengine/customdialogs
      INSTALLS += target

      qtHaveModule(widgets) {
          QT += widgets # QApplication is required to get native styling with QtQuickControls
      }