Qt 5.11 | Qt Widgets | Dynamic Layouts Example | dynamiclayouts.pro Example File

Qt 5.11.3 Reference Documentation

# dynamiclayouts.pro Example File

layouts/dynamiclayouts/dynamiclayouts.pro

      QT += widgets
      requires(qtConfig(combobox))

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

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