As far as I understand this, there is no benefit to inherit from QQuickLocalStorage, which consists only of one (non-virtual) function anyway. Its also just a .cpp file, no headers (Src\qtdeclarative\src\imports\localstorage\plugin.cpp) and a lot usage of internal/private qml engine stuff.
I would suggest that you write your own custom plugin, which handles the sql logic in C++.
↧