So it is not possible to draw text using the Momentics??? That'd be bummer I think my stuff is almost good to go if I could just draw some text on my graphics. I'm drawing on QImage via QPainter it was looking so good until I tried to add some Text, BB10 documentation is pretty poor. SIGSEGV when I tried to call drawText
Hi Rondog, thanks for your help, your source code is very interesting, I will try to implement it.
My project uses MainWidget, the original version of the project (Symbian) used MainWindow.
I tell you that a week ago I heard of Qt for BlackBerry, I want to port my app. The most important functions of the app are:
Send and receive SMS automatically (Not ported)
Making and accepting requests http automatically (ported)
Sqlite data base management (ported)
The quality of the graphical interface is secondary.
Apparently Qt Creator has limitations, I will try to implement the most important functions (Send and receive SMS automatically). If I solve the problem, I will continue with the GUI, but if I have problems I'll have to start using
BlackBerry Native SDK. Thank you very much.
Coldpeace, I did what you said (cleaned the projects, set the right kit). It works (only with new proyects). My proyect (symbian) don't works. Now I will copy-paste the source code, look for the error. Thank you very much to all.
It should be possible to utilize the nokia plugin. If you are using Qt5, there is an OpenStreet maps one afaik. The position plugin for Blackberry is not yet upstream in Qt5 but will probably be available soon.
are you using QtGui or Cascades and which Qt version?
I think there are several ways to do that. Did you already look into the qnx platform plugin? The touch events are sent with QWindowSystemInterface::handleTouchEvent(w, m_touchDevice, pointList);
So you could hack it into the platformplugin somehow.
Another possibility would be to inject a bps screen touch event into the qt event loop. You might want to have a look at:
QQnxBpsEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long *result)