[Qt-interest] error: expected initializer before ‘QtGuiModule’
Neel Basu
neel.basu.z at gmail.com
Thu Apr 23 21:16:25 CEST 2009
On Friday 24 April 2009 00:41:24 Thiago Macieira wrote:
> 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).
>
Thanks for that Information.
I didn't know this.
> 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.
But I've built a lot of other applications.
and I've installed Qt4 from Package Manager KUbuntu 7.10 (KDE 4).
not manually. so is there much possibility of wrong qconfig.h ?
More information about the Qt-interest-old
mailing list