PDA

View Full Version : Is it possible I use QtCore only in my service program on solaris(no-gui)?



calmspeaker
6th August 2009, 08:14
I find QVariant is a very useful class and I want to use it in non-gui program. I want to include QVariant.h and link to the lib QtCore4. Is that possible?
Thank you in advance!

nish
6th August 2009, 08:19
QVariant is already in QtCore module.. what is the problem?

btw the compiler will post error on QVariant.h

use
#include <QVariant>
or
#include <qvariant.h>

yogeshgokul
6th August 2009, 08:20
Yes QVariant is part of Qt Core module only.

yogeshgokul
6th August 2009, 08:20
Bu hu hu..:(:(:(:(

nish
6th August 2009, 08:22
ro mat .. jyada jawab nahi diya karte.. :)