regexp.pro Example File

tools/regexp/regexp.pro
 QT += widgets
 requires(qtConfig(combobox))

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

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