PDA

View Full Version : QWT app can't run,



MickyJhon
14th January 2014, 18:09
Hello all.

I install QWT6.0.1 with visual studio 2010 on Windows XP follows the QWT install description. Now i can successfully compile and run a QT GUI program. when i put a QWT widget in UI designer ,the program can be successfully compiled, But when i run the executable app, the window can't display. Under debug mode , the program gives me a message "The thread 'Win32 Thread' (0x1168) has exited with code 0 (0x0).". does anybody help me please?

Micky Jhon

Cah
15th January 2014, 03:05
Where is the code

MickyJhon
15th January 2014, 03:51
Where is the code

Hello ,Cah, Thank you for reply. I use the QWT example "Radio", the code is long. When i run the example , the window can not display, and the VS2010 give me the message "Win32 Thread' (0x1168) has exited with code 0 (0x0)".

Micky Jhon.

Cah
15th January 2014, 13:15
Do you get a window when you run this...

int main(int argc, char *argv[])
{
QApplication a(argc, argv);

QwtPlot p;
p.show();
return a.exec();
}

Are you able to run any other example from the examples directory. The default is not to build examples automatically

MickyJhon
24th January 2014, 10:14
thank u very much .... it works!