Bug 217206 - FATAL ERROR "com.trolltech.Qt.QGraphicsItem") inline void QGraphicsItem
Summary: FATAL ERROR "com.trolltech.Qt.QGraphicsItem") inline void QGraphicsItem
Status: RESOLVED INTENTIONAL
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 14:56 UTC by Taurnil
Modified: 2010-01-25 16:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taurnil 2009-12-03 14:56:47 UTC
Version:           4.3.4 (using KDE 4.3.4)
Compiler:          gcc-4.4.2 
OS:                Linux
Installed from:    Compiled From Sources

With qt-4.5.3 bindings build fine. Now with qt-4.6.0 and the make fails on this;

quint64 isn't a known type (type=quint64)
qulonglong isn't a known type (type=qulonglong)
setPos(qreal isn't a known type (type=setPos(qreal)
va_list isn't a known type (type=va_list)
Writing x_*.cpp...
Done.
FATAL ERROR "com.trolltech.Qt.QGraphicsItem") inline void QGraphicsItem::setPos(qreal "com.trolltech.Qt.QGraphicsItem") inline void QGraphicsItem::setPos(qreal
FATAL ERROR setPos(qreal setPos(qreal
Removing obsolete file qtdefines.cpp
Scanning dependencies of target smokeqt
[  0%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: error: expected '}' before 'com'
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: error: expected '}' before 'com'
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: warning: missing initializer for member 'Smoke::Type::classId'
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: warning: missing initializer for member 'Smoke::Type::flags'
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: error: expected ',' or ';' before 'com'
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6185: error: expected declaration before '}' token
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:318: warning: 'void* qt_cast(void*, short int, short int)' defined but not used
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:4691: warning: 'qt_inheritanceList' defined but not used
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:5603: warning: 'qt_classes' defined but not used
/usr/src/kdebindings-4.3.4/kde4-build/smoke/qt/smokedata.cpp:6183: warning: 'qt_types' defined but not used
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/smokedata.o] Error 1
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Arno Rehn 2009-12-03 15:10:10 UTC
kalyptus is outdated. For KDE 4.4 we have a new smoke generator which works perfectly with Qt 4.6. This will probably not be fixed in any of the KDE 4.3.x releases, so either go with smoke built against Qt 4.5.x, take the smokegenerator from trunk (warning: the newly generated smoke libs are binary incompatible with the 'old' libs - you'll also have to rebuild the bindings against the new version) or wait for KDE 4.4.
Comment 2 Taurnil 2009-12-03 15:30:43 UTC
Specifically what are the filenames I am looking for from trunk?
Comment 3 Arno Rehn 2009-12-03 15:50:59 UTC
You'll need the whole generator/ and smoke/ directories. Adjust the top-level CMakeLists.txt accordingly to include these directories. Then just build generator first, then the smoke modules you want to have.
Comment 4 Taurnil 2010-01-25 15:55:29 UTC
I did try your suggestion re comment #3 at that time but it failed. In any case this problem still exists using kdebindings 4.4.59svn1074631. Do I really have to wait until kde release actually says 4.4 before this gets fixed?

Yes I am aware this bug is marked resolved/wontfix, just letting you know this is still borked. If you want a new bug report then say so.
Comment 5 Arno Rehn 2010-01-25 16:49:02 UTC
If this still fails with the new generator (i.e. 4.4 pre-releases), please file a new bug report.