darn... so I had to open file .../src/src.pri within the trunk SVN source file, and modify the following lines:
contains(QWT_CONFIG, QwtOpenGL) {
QT += opengl
}
contains(QWT_CONFIG, QwtOpenGL) {
QT += opengl
}
To copy to clipboard, switch view to plain text mode
to be:
contains(QWT_CONFIG, QwtOpenGL) {
QT += opengl
LIBS += opengl32.lib GLU32.lib
}
contains(QWT_CONFIG, QwtOpenGL) {
QT += opengl
LIBS += opengl32.lib GLU32.lib
}
To copy to clipboard, switch view to plain text mode
it took me so long to get to this, I did not know that just adding "LIBS += opengl32.lib GLU32.lib" to qwt.pro file does not solve it!
I guess someone maybe should correct files in SVN or put some instructions...
Added after 56 minutes:
One more personal comment (correct me if I'm wrong) that line "QT += opengl" must be excluded for future release, because Qt does not recommend using it once you started using the QOpenGLWidget class.
If I'm correct that line only necessary if you are compiling the qwt_plot_glcanvas.h/cpp files which are based on QGLWidget which is now obsolete. So I guess the whole Makefile and other config files will be modified later to exclude old stuff, right?
Bookmarks