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

Qt 5.6.2 Reference Documentation

# regularexpression.pro Example File

tools/regularexpression/regularexpression.pro

      QT += widgets

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

      RESOURCES += regularexpression.qrc

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