> So, did I stumble on a bug? Indeed that sounds wrong. You should not need to include qqmlprivate.h manually. We've moved the registration macros from qqml.h to qqmlregistration.h, but apparently not all their dependencies. Including qqml.h instead of qqmlregistration.h should work. best regards, Ulf