Qt 5.11 | Qt Widgets | Custom Completer Example | customcompleter.pro Example File

Qt 5.11.3 Reference Documentation

# customcompleter.pro Example File

tools/customcompleter/customcompleter.pro

      QT += widgets
      requires(qtConfig(completer))

      HEADERS   = mainwindow.h \
                  textedit.h
      SOURCES   = main.cpp \
                  mainwindow.cpp \
                  textedit.cpp
      RESOURCES = customcompleter.qrc

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