schema.pro Example File | Qt XML Patterns 5.6

Qt 5.6 | Qt XML Patterns | XML Schema Validation Example | schema.pro Example File

Qt 5.6.2 Reference Documentation

# schema.pro Example File

schema/schema.pro

      QT          += widgets xmlpatterns
      FORMS       += schema.ui schema_mobiles.ui
      HEADERS     = mainwindow.h ../shared/xmlsyntaxhighlighter.h
      RESOURCES   = schema.qrc
      SOURCES     = main.cpp mainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp
      INCLUDEPATH += ../shared/

      target.path = $$[QT_INSTALL_EXAMPLES]/xmlpatterns/schema
      INSTALLS += target

      maemo5: CONFIG += qt_example