PDA

View Full Version : QT for background-services



invictus
22nd March 2007, 15:41
Hi

So I have one more question from a completly newbie with QT; Does QT (4) work optimal for creating non-gui background-services? I would imagine that it is easier to just have to deal with one framework when doing all the basic computer programming.

I am especially thinking of background services on Linux, but I would also like answer regarding windows to get a complete overview of the situation.

high_flyer
22nd March 2007, 15:48
optimal - is relative to your needs.
Possible - yes, even better since Qt4, since you can work without the GUI part (QCoreApplication).

invictus
22nd March 2007, 21:03
So lets say I have a background service that uses some external library for communicating with some piece of hardware, and use D-Bus (or similar) for interfacing with end-user applications. This should be possible for QT4 if I understand you correct?

high_flyer
23rd March 2007, 09:14
This was possible with prvious versions of Qt as well, but since Qt4 it is much better suitable for such application as well, since Qt is devided in modules, and you are not forced to link all of Qt, but only the parts you need.