<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>BB10 on blag</title><link>https://blog.beford.org/categories/bb10/</link><description>Recent content in BB10 on blag</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 10 Mar 2013 20:59:02 +0000</lastBuildDate><atom:link href="https://blog.beford.org/categories/bb10/index.xml" rel="self" type="application/rss+xml"/><item><title>OchoTracks - 8tracks.com client for MeeGo and Maemo 5</title><link>https://blog.beford.org/2013/03/10/ochotracks-8tracks-com-client-for-meego-and-maemo-5/</link><pubDate>Sun, 10 Mar 2013 20:59:02 +0000</pubDate><guid>https://blog.beford.org/2013/03/10/ochotracks-8tracks-com-client-for-meego-and-maemo-5/</guid><description>&lt;p&gt;I&amp;rsquo;ve been working on this new project since last week. Things are coming along, and hopefully I will be able to port it to BlackBerry 10 too.&lt;/p&gt;
&lt;p&gt;MeeGo - N9&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://blog.beford.org/img/imgur/b0rW6KU.png"&gt;&lt;/p&gt;
&lt;p&gt;Maemo 5 - N900&lt;br&gt;
&lt;img loading="lazy" src="https://blog.beford.org/img/imgur/Qdl8PUm.png"&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll try to release a beta version of this next week!&lt;/p&gt;</description></item><item><title>BlackBerry 10 Cascades - console.log() and qDebug() output</title><link>https://blog.beford.org/2013/02/05/blackberry-cascades-console-log-qdebug-in-the-ide/</link><pubDate>Tue, 05 Feb 2013 05:42:35 +0000</pubDate><guid>https://blog.beford.org/2013/02/05/blackberry-cascades-console-log-qdebug-in-the-ide/</guid><description>&lt;p&gt;This snippet of code will allow you to see the output of qDebug and console.log from the Momentics IDE when developing for BlackBerry 10.&lt;/p&gt;
&lt;p&gt;First we need to add this function to the &lt;strong&gt;main.cpp&lt;/strong&gt; file:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;void myMessageOutput(QtMsgType type, const char* msg){
Q_UNUSED(type);
fprintf(stdout, &amp;#34;%s\n&amp;#34;, msg);
fflush(stdout);
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Inside our main() function, add this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; //Message Handler
qInstallMsgHandler(myMessageOutput);
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now you will be able to see the output in the IDE while debugging your application, make sure to comment the qInstallMsgHandler line before exporting the Release version of your application.&lt;/p&gt;</description></item></channel></rss>