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

Qt 5.6.2 Reference Documentation

# flowlayout.pro Example File

graphicsview/flowlayout/flowlayout.pro

      QT += widgets

      QMAKE_PROJECT_NAME = flowlayout_graphicsview

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

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