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

Qt 5.8.0 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