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

Qt 5.9.9 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