Compiling is probably not the issue. AFAIK, the QML is loaded at runtime, and your error implies that it can't find the base QML where AbstractSeries is defined. Look at how and where you are deploying the QML files and where your app is expecting them to be.