Qt 5.11 | Qt Widgets | Basic Layouts Example | basiclayouts.pro Example File

Qt 5.11.3 Reference Documentation

# basiclayouts.pro Example File

layouts/basiclayouts/basiclayouts.pro

      QT += widgets
      requires(qtConfig(combobox))

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

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