Another GSoC Mini Report
July 17th, 2008 | Published in Code, Technology | 3 Comments
I’ve been slacking on the update reports over the past two weeks, because I’m holding out for the exciting post where I say “MP3tunes AutoSync is working! Huzzah!” Sadly, this report isn’t that one.
For the past week I’ve been banging my head against the wall of glib, QtEventLoop, and QThreads. I have quite a headache to say the least, but yesterday thanks to my mentor and Ian, both Amarok developers, my head actually broke through that wall. Literally. GLIB, and Qt are kowtowing at my feet swearing oaths of fealty. They have promised to work together and let me get back to doing fun things, like code new features.

The first half of my GSoC project involved making GObject/Glib play well with C++, fun stuff. Id love to hear what you’re doing to make it work well with Qt.
@Gregory
In the end, not that much actually. It turns out that as Qt now uses the glib event lop internally ( if you compile it with glib support ) it is quite possible to run GLib based code within a Qt program. The main issue ended up having to do with threading, and the solution to this ended up being simply splitting the daemon that runs and communicates with the Mp3Tunes server into its own process.
Good luck with your work on amarok!
You are reading a great book btw, I just loved it