Author Archives: Johan Thelin

3D Printers in Sweden

Having experienced the MakerBot at work, I bought a EMaker Huxley last year. Once you get into the habit of being able to print any mechanical piece that you need (almost), you are forever hooked. Now, I’m looking to build a larger machine and am sourcing material for a building larger RepRap Mendel Prusa V2. [...]

Posted in Miscellaneous | 1 Comment

Packaging Qt 5

As Qt 5 approaches alpha, it is more and more interesting to try using it outside the comfort of developer machines. For that, packages are needed. Thanks to vgrade I found the qt-spec-effort project on Gitorious. This git contains a nice script that populates an OBS with the Qt packages. Perfect for my needs. I [...]

Posted in Linux, Qt | Leave a comment

Building the QML Run-time

I visited OpenSourceDays 2012 this weekend. I did my presentation and met some people, but could not attend any other sessions. This was part due from the site being out of power when I got there (talk about Murphy at a large scale) and part because I wanted to enjoy beautiful Copenhagen with my family. [...]

Posted in Linux, Qt | 1 Comment

The Irony of the Real World

Qt does not sell mobiles. As a consumer, Qt is a technicality. Right now, the experience and availability of apps sell phones. Qt is just a tool for us developers to implement those experiences. Despite this, it is interesting to compare the Nokia N9 and the new WP7-based Lumia handsets. The market’s reaction to both, and [...]

Posted in Linux, Qt | 10 Comments

QtQuick and Drag-and-Drop – One More Time

As a result of my last blog on QtQuick and DnD I was contacted by both Sebas and Marco. Both are active in the KDE project and face the same issues as I do. Apparently, the Plasma team are also working on DnD in QtQuick. Their approach is based around DragArea and DropArea, written in [...]

Posted in Miscellaneous, Qt | 2 Comments

QtQuick and Drag-n-Drop

Implementing drag-n-drop (from now on DnD) in QtQuick is like traveling to an up-side-down world. Instead of dragging something and dropping it on a zone, the dragged item (or, rather, the MouseArea controlling the drag) is responsible for keeping track of where it is. I’ve experimented with a few tricks to resolve this, and I [...]

Posted in Miscellaneous, Qt | 6 Comments

QtQuick and Models

Well, the title says it all, lets get started :-) Proxy Models Something that I would love to see in QML is the QSortFilterProxyModel. I guess it needs a wrapper of some sort, but being able to sort and filter – either based on a role and a regular expression, or based on a JavaScript [...]

Posted in Miscellaneous | 4 Comments

QtQuick / QML Experiences

I’m in the middle, or rather, approaching the end of, my very first large QtQuick-based project. I cannot tell you that much, just that it includes a rather large code base of QML, and a semi-large run-time environment written in C++. In this blog entry, and probably some more, I’ll tell you about my experiences. [...]

Posted in KDE 4, Qt | 4 Comments

qBound on Arm

When using qBound in combination with qreal, it is important to properly cast the upper and lower bounds, e.g.: qreal x = qBound(qreal(0.2), v, qreal(1.5)); If you forget this, i.e by using the following code: qreal x = qBound(0.2, v, 1.5); Your code will happily work on x86, and some other platforms, but not on [...]

Posted in Miscellaneous, Qt | 10 Comments

Necessitas, and Qt in general

I spoke at FSCONS the last Saturday. You can find the slides on SlideShare. Originally, I thought I’d spend my 45 minutes speaking about how to get Qt on Android, i.e. Necessitas, working. But it just works. Amazing work by everyone installed! Instead, I spoke of Qt, what Qt is about, where Qt is heading, [...]

Posted in Miscellaneous | 2 Comments
  •  

    May 2012
    M T W T F S S
    « Mar    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Categories