Qt 5.11 | Qt Widgets | Validators Example | validators.pro Example File

Qt 5.11.3 Reference Documentation

# validators.pro Example File

widgets/validators/validators.pro

      QT += widgets
      requires(qtConfig(combobox))

      FORMS += validators.ui
      RESOURCES += validators.qrc

      SOURCES += main.cpp ledwidget.cpp localeselector.cpp
      HEADERS += ledwidget.h localeselector.h

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