05-18-2012 02:49 PM
I have the tendency to make libraries instead of actual applications (working on it...). I want to make a library for BlackBerry 10 that uses some of the Qt/Cascades classes and possibly has some Cascades QML elements. The only option I seem to have within Momentics is to make an application. Is there any way to make a library, not an application, that has said support?
Solved! Go to Solution.
05-18-2012 03:02 PM
If you select File -> New... then "BlackBerry C/C++ Project", you should get a dialog. Enter a project name, then Next, and on the next page you should see options including "Empty Shared Library" which ought to be configured to produce a .so instead of an executable and .bar file.
05-18-2012 03:40 PM
05-18-2012 04:19 PM
05-18-2012 09:10 PM
05-21-2012 06:43 AM
I wanted a static library that made use of Qt classes. I tried the "create library" wizard in Momentics IDE release 10.0.4. The library built fine but when trying to use the library from my app I got linking error on all classes inheriting from QObject. This is likely to be because moc.exe wasn't run on the library during the build.
As a workaround I created the library with the steps below. I don't know if they are recommendable but it seems to work.
05-21-2012 09:08 AM
05-21-2012 09:13 AM
05-21-2012 09:35 PM
05-27-2012 12:01 AM