PDA

View Full Version : QT non-gui networking



MAbeeTT
21st August 2009, 17:23
I'm new in QT. My idea is to develop non-gui applications with qt, networing related applications, without depending in a X server in Linux.

I've been trying modify the example BRoadcast Receiver example program
http://doc.trolltech.com/4.5/network-broadcastreceiver.html

But I don't know what to do with QDialog class. I've searching but it seems to be a not usual question.

http://pastebin.com.ar/5185
http://pastebin.com.ar/5186
http://pastebin.com.ar/5187


Thanks!

Lykurg
21st August 2009, 19:47
Hi, welcome to the board!

First: please post all code direct on the forum, that your post stays consistent.

Now, to your question: What trouble do you have? Get any error? Compiler error, runtime error? But even without a proper problem description I can guess:


use QCoreApplication
remove all QDialog stuff from the class Receiver (such as "public QDialog" or "(QWidget *parent) : QDialog(parent)")


Lykurg