user1899020
user1899020

Reputation: 13575

How to compile QwtPlot3d with Qt5?

Qt5 is released and the new Qt5.0.2 has MSVC2012 x64 version. Want to use QwtPlot3d with Qt5. In copilation, error of redefinition of GLdouble appears. Don't know the reason and how to fix it. Thanks.

Upvotes: 1

Views: 2080

Answers (2)

Richy
Richy

Reputation: 714

It is of course not necessary anymore to re-compile QT yourself since they now also ship a prebuilt installer for opengl-desktop

Upvotes: 0

yakupc
yakupc

Reputation: 178

It seems this is an OpenGL desktop vs OpenGL ES 2 issue. The Qt5 pre-compiled packages are built against ANGLE which provides OpenGL ES 2. Check QT downloads page if there is proper version(OPENGL 32bit) for you.

If you want to use desktop OpenGL on windows with Qt 5, you have to rebuild Qt yourself passing in -opengl desktop to the configure.bat script.

Upvotes: 1

Related Questions