1RESOURCES += images.qrc 2 3HEADERS += mainwindow.h view.h chip.h 4SOURCES += main.cpp 5SOURCES += mainwindow.cpp view.cpp chip.cpp 6 7QT += widgets 8qtHaveModule(printsupport): QT += printsupport 9qtHaveModule(opengl): QT += opengl 10 11build_all:!build_pass { 12 CONFIG -= build_all 13 CONFIG += release 14} 15 16# install 17target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/chip 18INSTALLS += target 19 20