Qt 5.11 | Qt Widgets | Flow Layout Example | flowlayout.pro Example File

Qt 5.11.3 Reference Documentation

# flowlayout.pro Example File

layouts/flowlayout/flowlayout.pro

      QT += widgets

      HEADERS     = flowlayout.h \
                    window.h
      SOURCES     = flowlayout.cpp \
                    main.cpp \
                    window.cpp

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