Your browser version is outdated. We recommend that you update your browser to the latest version.

Qt5 Compilation Success!

Posted 3/16/2021

Amazing! BlackBerry, QNX, Qt are simply amazing! I had to make a lot of small modifications pertaining to the ambiguous overloads I mentioned in a previous post, but the compile completed successfully. Unfortunately... nothing appeared on screen the first time around. There were bright signs of life on the console, though, so QtCore is working proof. Most of the Qt5 examples are, understandably, GUI-oriented.

There are no errors indicating a failure in loading the display, which has led me to believe that it was simply a matter of adding 4 lines of code to my previous changes, to make everything that BlackBerry wrote for their newer QNX version, work with BlackBerry 10!.

 

#ifdef Q_OS_BLACKBERRY
#include <bps/bps.h>
bps_initialize() ;
#endif

I made a couple of changes to the QNX platform plugin and disabled some important third-party libraries to achieve my first successful compile, but all-in-all, the experience has confirmed what BlackBerry claims about their OS's portability. I hope I'm right about the BB10 initialization...