[Interest] qApp desktop weirdness

Sensei senseiwa at gmail.com
Fri Mar 1 15:25:06 CET 2013


On 3/1/13 3:14pm, Dom wrote:
> Hey,
>
> It seems that the compiler is right. :)
>
> As QCoreApplication does not have a member called desktop.
> But QApplication does!
>
> http://qt-project.org/doc/qt-4.8/qcoreapplication.html
> http://qt-project.org/doc/qt-4.8/qapplication.html
>
> It was a long time ago when I was developing in Qt using C++. These days I'm using PySide, but I suppose you need to include <QApplication> instead of <QtCore> or something similar. :)
>
> Hope it helps!

Sure it helps!

Now I've included QtCore and QtGui to the prefix headers, and it works. 
It was a stupid difference... now I am happy!


Thanks!





More information about the Interest mailing list