HEADERS = glwidget.h \ mainwindow.h SOURCES = glwidget.cpp \ main.cpp \ mainwindow.cpp QT += opengl widgets # install target.path = $$[QT_INSTALL_EXAMPLES]/opengl/grabber sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS grabber.pro sources.path = $$[QT_INSTALL_EXAMPLES]/opengl/grabber INSTALLS += target sources simulator: warning(This example might not fully work on Simulator platform)