-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error #1
Comments
Hi I'm sorry for a late answer. Had a showstopper in the project that is now solved. I cannot reproduce your bug. I have tested with sip 4.19.7 and Qt4.8.7 (Debian) |
I'm trying to compile this using qt5. I'm getting the following error:
|
Hi Sorry for a late answer but this looks like you have not used the patched Qwt header files. Regards |
Thank you! That worked...! :-) |
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.
The text was updated successfully, but these errors were encountered: