Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
07-23-2013 05:09 AM
i want to get the QString width in bb10, below is the code i used.
QFont font = QApplication::font();
fprintf(stderr, "Width of ABC is %f\n",x);
but i got an segment fault, some body help me why this happened?
below is the stack
Thread  (STOPPED) (Suspended : Signal : SIGSEGVegmentation fault)
initializeDb() at 0x793a5a72
QFontDatabase::findFont() at 0x793a7428
QFontDatabase::load() at 0x793a816e
QFontPrivate::engineForScript() at 0x7938fe8c
QTextEngine::fontEngine() at 0x793b641c
QTextEngine::shapeTextWithHarfbuzz() at 0x793b6fd6
QTextEngine::shapeText() at 0x793b78e2
QTextEngine::shape() at 0x793b7c38
QTextEngine::width() at 0x793ba98c
QFontMetrics::width() at 0x793a2784
HelloCascadesApp::HelloCascadesApp() at hellocascadesapp.cpp:56 0x8049ba2
main() at main.cpp:27 0x804a472
07-23-2013 05:28 AM
07-25-2013 02:35 AM
why blackberry do not support this interface?
good question, my colleague added a feature request for that half a year ago. maybe you can find it in jira and add votes to it.
07-25-2013 02:37 AM