schema.pro Example File | Qt XML Patterns 5.4

- Qt 5.4
- Qt XML Patterns
- XML Schema Validation Example
- schema.pro Example File
- Qt 5.4.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