Hi all,

I want my application to not show any widget. The program contains a class (Client) which is a subclass of QDialog.

Client::Client(QWidget *parent,QString iptest,QString dbName,QString sensorNr,QString sensorNr2)
: QDialog(parent)

In main.cpp the program is started with

Client client(parent,QString::fromLocal8Bit(argv[1]),QString::fromLocal8Bit(argv[2]),QString::fromLocal8Bit(argv[3]),QString::fromLocal8Bit(argv[4]));
client.show();
return client.exec();

I have failed to find an option in qmake to suppress GUI. I guess it is possible to remove the links to QtGui in the makefile? I am using Qt-4.5.3 on ubuntu 8.0.4.
Any help is deeply appreciated, thanks in advance!

gQt