[Qt-interest] error: expected initializer before ‘QtGuiModule’
Thiago Macieira
thiago.macieira at trolltech.com
Thu Apr 23 21:11:24 CEST 2009
Neel Basu wrote:
>I am getting the following Error
>-------------------
>/usr/include/qt4/QtGui/qwindowdefs.h:47: error: expected initializer
> before ‘QtGuiModule’
>------------------------
>Now What Should I do ?
That error comes from a badly-configured Qt. The line in question is:
QT_MODULE(QtGui)
Which was added for commercial customers having less-than-full versions of
Qt (there used to be many different packages, now there aren't any more).
The list of what you can use comes from qconfig.h.
That means your qconfig.h is wrong or busted. Usually that happens because
of Qt 3's qconfig.h is interfering.
Your Qt is not properly installed. Please review your installation steps.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090423/e00846bb/attachment.bin
More information about the Qt-interest-old
mailing list