QT += charts SOURCES += \ main.cpp target.path = $$[QT_INSTALL_EXAMPLES]/charts/stackedbarchart INSTALLS += target