qml && c++ type
-
in your .pro file, add
QT += quick-private qml-privatein your cpp files, add
#include <QtQml/private/
#include <QtQuick/private/ -
in your .pro file, add
QT += quick-private qml-privatein your cpp files, add
#include <QtQml/private/
#include <QtQuick/private/@Vincent007 I cannot find any information about quick-private in help documents. Can you provide me any details about quick-private class library information. thank you very much
-
Hi and welcome to devnet,
Before anything else: why do you need to access the private parts of Qt ?
There's no special documentation about them because they are not part of the public API so their content can be changed or nuked at any time.
-
Hi and welcome to devnet,
Before anything else: why do you need to access the private parts of Qt ?
There's no special documentation about them because they are not part of the public API so their content can be changed or nuked at any time.
-
That doesn't explain why you are trying to access Qt's private parts. You don't need that in order to provide C++ implemented objects to QML.