I'm using the new version of Blackberry (Blackberry 10) . I'm trying to integrate c++ code with QML , but I faced some problems that I thinks connected to other . in the .h file Q_OBJECT , Q_PROPERTY signals and slots shows that there is syntax error . and in the QML file in which I try to use this type (i.e import CustomTimer 1.0 for example) I got this problem module "CustomTimer" is not installed . how to solve this issue???
I'm using QNX Momentics Version 10.1.0
I resolved my errors by right-clicking on my project folder, then selecting Configure -> Add Library...
, and then choose Standard BlackBerry Platform Library. Choose the relevant library to include and click Finish
.
For QObject
, I found it under Platform > Qt Core
I corrected the issue in following manner:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With