Unsolved Get file name, line number and function name in QML Javascript from C++. How?
-
Hello!
I've got clear how to get file name, line number and function name in QML via Javascript function. The question is how to do the same but FROM C++, I need to get JavaScript file name, line number and function name in QML WITHOUT using JS directly. Just C++ code. Something like this:C++ header
... public slots: void mGetStack(void); ...
C++
void SomeClass::mGetStack(void) { ... (some C++) }
QML
onCompleted: { SomeClass.mGetStack() }
What should be instead of "some C++"?