DO NOT DO THIS ! You *will* bork your Qt install at some point/upgrade if you go down the path of manually modding Qt lib paths (which is the reason it isn't done that way 'out-of-the-box' in the first place) The right (future-proof) way to do this for now is to handle the import paths from your code Code: viewer.engine()->addImportPath(QString("/opt/qtm12/imports"));
viewer.engine()->addImportPath(QString("/opt/qtm12/imports"));