<?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>Qt on blag</title><link>https://blog.beford.org/categories/qt/</link><description>Recent content in Qt 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/qt/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><item><title>N900 Mer boot to QMLViewer</title><link>https://blog.beford.org/2012/02/14/n900-mer-boot-to-qmlviewer/</link><pubDate>Tue, 14 Feb 2012 03:40:25 +0000</pubDate><guid>https://blog.beford.org/2012/02/14/n900-mer-boot-to-qmlviewer/</guid><description>&lt;p&gt;The following kickstart files allows the n900 to boot into qmlviewer, I&amp;rsquo;m going to highlight just the bottom of it, with the next lines we create the launcher for the qmlviewer and then create a symbolic link to make it the default desktop environment.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat &amp;gt; /usr/share/xsessions/x-meego-qmlviewer.desktop &amp;lt;&amp;lt; EOF
[Desktop Entry]
Version=1.0
Name=qmlviewer session
Exec=/usr/bin/qmlviewer
Type=Application
EOF
# Set symlink pointing to .desktop file
ln -sf x-meego-qmlviewer.desktop /usr/share/xsessions/default.desktop
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Here is a video of N900 booting:&lt;/p&gt;</description></item><item><title>Fix for Failed to upload package: Failure on QtCreator</title><link>https://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/</link><pubDate>Tue, 07 Feb 2012 15:32:52 +0000</pubDate><guid>https://blog.beford.org/2012/02/07/fix-for-failed-to-upload-package-failure-on-qtcreator/</guid><description>&lt;p&gt;Just got hit by this problem, whenever I tried to deploy my application:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; 11:06:04: Package created.
11:06:04: Installing package to sysroot ...
Package &amp;#39;untitled&amp;#39; installed.
11:06:04: Preparing SFTP connection...
11:06:04: Starting upload...
11:06:04: Failed to upload package: Failure
11:06:04: Deploy step failed.
Error while building project untitled (target: Harmattan)
When executing build step &amp;#39;Deploy Debian package via SFTP upload&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And a notification warning about the little remaining data storage appeared on the device, which I wrongly ignored at first. The problem occurs because QtCreator tries to copy the debian packate to /tmp on the device, N9 for me, and it fails if the space is full. I managed to fill my /tmp partition (which is just 4Mb btw..) by testing some big application. Solution is, ssh to your device, check if you /tmp is full (df -h) and delete any .deb file left there by QtCreator.&lt;/p&gt;</description></item></channel></rss>