Tag Archive: CMake


CMake Qt integration example project

Hell yes!

I’ve been searching for something like this for ages and now finally someone has created what I was looking for.

A short quote from the official homepage:

The FS Editor was created to show an example of how a big software system can be done with Qt, and how you build it with CMake. The focus is on architecture and on showing how features are done

As stated on the homepage there is no real documentation but instead he will post blog entries which can be found here.

Cya soon =)

 

 

 

Advertisements

Dinjam revival and CMake magic

Beside of sex, love and rock’n’ roll there are also other things going on… 🙂 (yeah I know those things are laaame in comparison ^^)

Dinjam is going to get a revival as a mobile app for maemo or meego (have I mentioned that before?). I’m planning to do that using a library and mulitple frontends.

One of the frontends planned is a Qml frontend using Qt Quick Components. Another one is a native libmeegotouch UI. And of course the already existing frontend using traditional QWidgets.

Currently everything is in a broken state – and can be found in my mobileui branch on gitorious.

The current status is that CMake migration is in the progress… the library is already created but I’m not sure yet if I need some export macros? or how I should handle include paths… I also need to figure out what has to be cleaned up from the desktop (widget based) ui into the library and how I can strip down those components…

Next will be that I’ve gotta figure out how I can use the QGraphicsView in Qml OR how I can paint from within QtScript onto the Qml Scene… I would like to be able to animate the View (roll it to the side like a paper or something like that …)

So if anyone has got any idea on how to do this I would really appreciate it 🙂

Maybe you are asking yourself what has kept me busy and why it took so long for those small looking steps… well life… and cmake… this grandious build system had something against my complex folder structure… yeah… until I found out how to use it the right way(tm)…. did you know that CMake had an include statement? using it you can include other CMakeLists and therefore you can set variables in a subdir and still use this variable in the topdir where you included the list… who needs add_subdirectory if you can use include? 😛 cool thing… 🙂

I found that solution through the help of a german qt forum 🙂 thanks. so for all my german readers (are there any? oO): here you can find the thread.

Cu next time 🙂