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

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