Bug 153318 - Compile error when trying to build with Qwt support
Summary: Compile error when trying to build with Qwt support
Status: RESOLVED DUPLICATE of bug 153344
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 04:10 UTC by Gabriel C
Modified: 2007-12-03 22:49 UTC (History)
0 users

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 Gabriel C 2007-12-03 04:10:53 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 
OS:                Linux

Hi,

current kdebindings from trunk ( actually I have r744246 ) won't compile with Qwt support.

I have the following error :

...

/work/crazy/repos/playground/source/kde4/kdebindings/src/kdebindings-3.96.1_744246/build/smoke/qt/x_6.cpp: In static member function 'static void x_QGlobalSpace::x_413(Smoke::StackItem*)':
/work/crazy/repos/playground/source/kde4/kdebindings/src/kdebindings-3.96.1_744246/build/smoke/qt/x_6.cpp:5854: error: call of overloaded 'qHash(double)' is ambiguous
/usr/include/QtCore/qhash.h:58: note: candidates are: uint qHash(char)
/usr/include/QtCore/qhash.h:59: note:                 uint qHash(uchar)
/usr/include/QtCore/qhash.h:60: note:                 uint qHash(signed char)
/usr/include/QtCore/qhash.h:61: note:                 uint qHash(ushort)
/usr/include/QtCore/qhash.h:62: note:                 uint qHash(short int)
/usr/include/QtCore/qhash.h:63: note:                 uint qHash(uint)
/usr/include/QtCore/qhash.h:64: note:                 uint qHash(int)
/usr/include/QtCore/qhash.h:65: note:                 uint qHash(ulong)
/usr/include/QtCore/qhash.h:73: note:                 uint qHash(long int)
/usr/include/QtCore/qhash.h:74: note:                 uint qHash(quint64)
/usr/include/QtCore/qhash.h:82: note:                 uint qHash(qint64)
/usr/include/QtCore/qhash.h:83: note:                 uint qHash(QChar)
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_6.o] Error 1
make[2]: Leaving directory `/work/crazy/repos/playground/source/kde4/kdebindings/src/kdebindings-3.96.1_744246/build'
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2

...

The Qwt version I use is 5.0.2.


Regards,

Gabriel
Comment 1 Pino Toscano 2007-12-03 22:49:35 UTC

*** This bug has been marked as a duplicate of 153344 ***