TEMPLATE = lib CONFIG += static contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2) { DEFINES += QT_OPENGL_SUPPORT QT += opengl widgets } build_all:!build_pass { CONFIG -= build_all CONFIG += release } TARGET = demo_shared QT += widgets SOURCES += \ arthurstyle.cpp\ arthurwidgets.cpp \ hoverpoints.cpp HEADERS += \ arthurstyle.h \ arthurwidgets.h \ hoverpoints.h RESOURCES += shared.qrc