customdialogs.pro Example File | Qt WebEngine 5.10

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

Qt 5.10.1 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
      }