Qt-4 build problems..

Stefan Eilers stefan.eilers at basyskom.de
Thu Mar 23 02:05:54 PST 2006


Hi!

The Qt-4 binding failed to compile with a very strange compiler error:

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DQT_SHARED 
-I/usr/local/Trolltech/Qt-4.1.0/include 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtCore 
-I/usr/local/Trolltech/Qt-4.1.0/include/QtXml -DDBUS_COMPILATION 
-DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -MT qdbusintrospection.lo -MD -MP 
-MF .deps/qdbusintrospection.Tpo -c ../qt/qdbusintrospection.cpp  -fPIC -DPIC 
-o .libs/qdbusintrospection.o
../qt/qdbusintrospection.cpp: In static member function `static QMap<QString,
   QSharedDataPointer<QDBusIntrospection::Interface> >
   QDBusIntrospection::parseInterfaces(const QString&)':
../qt/qdbusintrospection.cpp:366: error: type specifier omitted for parameter 
`
   xml'
../qt/qdbusintrospection.cpp:367: error: request for member `interfaces' in `
   parser', which is of non-aggregate type `QDBusXmlParser ()(QString (*)(),
   QString (*)())'
make: *** [qdbusintrospection.lo] Fehler 1

This "type specifier omitted" does not make any sense if I look into the code:

QDBusIntrospection::Interfaces
QDBusIntrospection::parseInterfaces(const QString& xml)
{
    QDBusXmlParser parser(QString(), QString(), xml);
    return parser.interfaces();
}

Does anybody has an idea what happens here?

Btw.:
I use the current CVS release of DBUS..

Thanks in advance!

Regards, Stefan
-- 
Stefan Eilers
Project Manager

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 3969-962 | Fax: -736 | Mobile: +49 170 4213459 |
Jabber: eilers at jabber.org
stefan.eilers at basyskom.de | www.basyskom.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060323/dd4c6593/attachment.pgp


More information about the dbus mailing list