PDA

View Full Version : Error when compile/run Qt examples



babygal
4th March 2011, 11:10
My colleague installed the latest Qt SDK on his system.
And he tried running the Qt examples.
But he gets build error and compile output error.
Unable to figure out what is the cause of the problem.
Please see the two attachments for the error log.

wysota
6th March 2011, 09:34
Your colleague is mixing two compilers. Qt SDK is built for MinGW but it seems your friend is trying to build the application using MSVC.

babygal
9th March 2011, 07:07
What is the best possible solution?

BalaQT
9th March 2011, 07:53
What is the best possible solution?
hi,
use one compiler. use MinGW to compile

Bala

babygal
9th March 2011, 08:02
He's using Qt Creator to compile/build/run.
By the way,he didn't configure MSVC as the compiler in Qt Creator.

wysota
9th March 2011, 12:51
I don't know what he did or what he hasn't done. I only know the build log references MSVC.