Qt 5.11 | Qt Widgets | QRegularExpression Example | regularexpression.pro Example File

Qt 5.11.3 Reference Documentation

# regularexpression.pro Example File

tools/regularexpression/regularexpression.pro

      QT += widgets
      requires(qtConfig(treewidget))

      HEADERS       = regularexpressiondialog.h
      SOURCES       = regularexpressiondialog.cpp \
                      main.cpp

      RESOURCES += regularexpression.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/regularexpression
      INSTALLS += target