03-10-2012 10:50 AM
Okay, so I switched from Momentics to QTCreator, following various howto's and such, just trying to deploy a simple hello world app, but when I run it on the device(not the simulator), I am getting this in my app log on the device :
QBB: failed to open Locale pps, errno=13
QFontDatabase: Cannot find font directory /home/<username>/bbndk-2.0.0/Qt/stage/nto/armle-v7
Seems as though it's trying to find fonts, which of course there are none of the device(though it's referencing the paths on my local machine). Do I need to deploy them and set the path w/ an enviroment variable, or am I doing something wrong?
03-10-2012 11:39 AM
03-10-2012 11:47 AM
Blackberry's GIT... I think I may have gotten past that issue by adding :
<env var="QT_QPA_FONTDIR" value="/usr/fonts/font_repository/liberation"/>
into the bar-descriptor.xml..
Only thing I would LOVE to figure out now is how to be able to use the NDK as well as Qt in QtCreator... You can certainly use the creator to make the gui's and such, but I don't think you can still use NDK features, as it always says "include file not found.. "..Would love to be able to use some of the libraries and includes within Qt, but I don't think you can at this point add -L and -I to the compile scripts, and ever if you did, you will lose the sim, as it's looking for a N900, wrong architecture...
Though I am atleast at a point that I can do something. Use QtCreator to set myself up, then from there, vi and the command line. haha... Just like the good old days.
03-10-2012 12:15 PM
03-10-2012 01:02 PM - edited 03-10-2012 01:04 PM
(The forum search feature was more helpful this time than I thought it would be...)
03-10-2012 02:03 PM
..... And I'm off.. haha.. git cloning now... Yea, I tried the search, but it's pretty painful..
I'm assuming that I am just going to clone this guy, then basically follow the instructions here :
I did also do a build of RIMs qtcreator, so I will give that a whirl as well, see what I can do.
I have successfully built and installed a few Qt Apps with not many issues, but as soon as I added anything from the standard NDK, all hell broke loose. Hopeing this somewhat fixes that.
Thanks again for all your help again man, really appreciate it,
03-10-2012 03:36 PM
03-10-2012 04:17 PM
Yup, just finished compiling and installing. Going to play now. I used your most recent configure line, so I should be good to go there.
Thanks again, I'll be on IRC probably next week a little more.. Have a newborn baby that I like to spend time with on the weekends.
03-10-2012 04:45 PM
It does the same thing, there isn't anyway that I can find in Qt Creator to be able to tell it that your including files that are outside ot Qt.
Example, I am trying to include this :
And it basically says no. Not a big deal, as I can always just use QtCreator to create the UI, then take it out to compile and deploy/test. Just slows things down a bit.