Skip to content

Compile error #1

Description

@jkrueger1

Installed version of qwt: current version (r2523), using Qt 4.8.4, sip 4.15.5

after 'python configure.py' and calling make I got:

./sipQwtQwtAlphaColorMap.cpp: In member function ‘QVector sipQwtAlphaColorMap::colorTable(const QwtInterval&) const’:
./sipQwtQwtAlphaColorMap.cpp:69:47: error: no matching function for call to ‘sipQwtAlphaColorMap::colorTable(const QwtInterval&) const’
return QwtAlphaColorMap::colorTable(a0);
^
./sipQwtQwtAlphaColorMap.cpp:69:47: note: candidate is:
In file included from qwt_color_map.sip:82:0:
/home/jkrueger/qwt/include/qwt_color_map.h:79:27: note: virtual QVector QwtColorMap::colorTable(int) const
virtual QVector colorTable( int numColors ) const;
^
/home/jkrueger/qwt/include/qwt_color_map.h:79:27: note: no known conversion for argument 1 from ‘const QwtInterval’ to ‘int’
make: *** [sipQwtQwtAlphaColorMap.o] Error 1

After having a look into the code and qwt code I found out that the Qwt call to the colorTable has an integer parameter now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions