PDA

View Full Version : how to build QwtPlot3d examples using qt creator



bss
1st June 2011, 12:32
hello
i have downloaded Qt_SDK which has released in May for windows
I want to build qwtPlot3d examples using this environment.
It uses mingw compiler
and in qwtplot3d.pro file uses VS settings..
how to build it?can anyone help me?

bss
2nd June 2011, 09:28
hello
i have downloaded Qt_SDK which has released in May for windows
I want to build qwtPlot3d examples using this environment.
It uses mingw compiler
and in qwtplot3d.pro file uses VS settings..
how to build it?can anyone help me?

done!!!
in qwtplot3d.pro
chage
win32:TEMPLATE =vclib
to
win32:TEMPLATE=lib
change
CONFIG+=qt warn_on opengl thread zlib debug
to
CONFIG+=qt warn_on opengl thread zlib release
add #include<stdio.h> in qwt3d_functions.cpp
To compile
qmake qwtplot3d.pro
mingw32-make

this has solved my problem

lhdamiani
14th March 2013, 17:46
Can you please paste your entire qwtplot3d.pro, i'm getting an error while executing my project. It returns as error: QWidget: Must construct a QApplication before a QPaintDevice.

But I think it might come from the qwtplot3d, it is exactly when i invoque the plotting function.
I'm also using qtcreatr+mingw+qwtplot3d.

Thanks for the help!