You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, June 28th 2013, 11:23am

Missing .lib file when building QwtPlot3d with Qt 5

I have a project which depends on QwtPlot3d:
http://qwtplot3d.svn.sourceforge.net/vie…runk/qwtplot3d/
Everything builds fine with Qt 4.8.4 and MSVC 2010
When I try to build it with Qt 5.0.2 using the exact same procedure, everything seems to be build fine, except that no .lib file is generated. So it seems that the problem has to do with Qt 5.
Has anyone else experienced a similar problem?

Regards, Ivar

2

Monday, July 8th 2013, 8:03pm

I figured it out... The lib file was only missing when building with Qt
5. In the qwt3d_global.h file there is a definition check at the start:
#if defined(Q_WS_WIN)
which will cause problems on Qt 5, since the Q_WS_WIN has been dropped. Instead one should use Q_OS_WIN