Qt 5.11 | Qt Widgets | Basic Graphics Layouts Example | basicgraphicslayouts.pro Example File

Qt 5.11.3 Reference Documentation

# basicgraphicslayouts.pro Example File

graphicsview/basicgraphicslayouts/basicgraphicslayouts.pro

      QT += widgets

      HEADERS   = layoutitem.h \
                  window.h
      SOURCES   = layoutitem.cpp \
                  main.cpp \
                  window.cpp
      RESOURCES = basicgraphicslayouts.qrc

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