Qt 5.6 | Qt Widgets | 40000 Chips | chip.pro Example File

Qt 5.6.2 Reference Documentation

# chip.pro Example File

graphicsview/chip/chip.pro

      RESOURCES += images.qrc

      HEADERS += mainwindow.h view.h chip.h
      SOURCES += main.cpp
      SOURCES += mainwindow.cpp view.cpp chip.cpp

      QT += widgets
      qtHaveModule(printsupport): QT += printsupport
      qtHaveModule(opengl): QT += opengl

      build_all:!build_pass {
          CONFIG -= build_all
          CONFIG += release
      }

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