Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.4.1
Description
I'm logging messages from C++ code for QObjects that have been instantiated from QML, using qmlDebug(), qmlInfo(), and qmlWarning().
Now I need qmlCritical() and qmlFatal() as well, but find that they don't exist. Why?
Second, I notice that the "QtQml Namespace" page documenting these functions has disappeared in Qt 6 - the last available version is 5.15. Are these functions deprecated? If so, what could I use instead to get QML context for logging from C++?
Cheers