Registered Member
|
Hello there! I'm trying to develop a C++/QML plasmoid, so I generated a template with KAppTemplate.
however, I'm encountering a few problems: 1. I had to change
with
because otherwise it refuses even to build 2. I'm unable to access properties and methods exposed with Q_INVOKABLE and Q_PROPERTY: this is the code: header file:
and cpp file:
so I should be able to access the content of m_nativeText from QML with
however, this returns undefined and in
what's the problem? I really can't understand what's going on the funny part is that I tried downloading this code and here it doesn't work either! is it a problem of my plasma installation? or am I just going crazy? I'm running Fedora 36 KDE |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]