Qt 5.9 | Qt XML Patterns | Recipes Example | recipes.pro Example File

Qt 5.9.3 Reference Documentation

# recipes.pro Example File

recipes/recipes.pro

      QT          += widgets xmlpatterns
      FORMS       += forms/querywidget.ui \
                     forms/querywidget_mobiles.ui
      HEADERS     = querymainwindow.h ../shared/xmlsyntaxhighlighter.h
      RESOURCES   = recipes.qrc
      SOURCES     = main.cpp querymainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp
      INCLUDEPATH += ../shared/

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

      maemo5: CONFIG += qt_example