PDA

View Full Version : Qt5 - mingw



Asus
17th November 2012, 02:42
Hi I installed QT5 beta and MINGW on my computer. When I build using the gui, I get ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options." In the option, I can see Desktop QT 5 beta in the kit settings and in the compiler I see MinGw x86 64bits as automatic settings. What is wrong with my configuration ? Should I try a previous revision of Qt ? Can someone help me please ?

thanks

JKSH
17th November 2012, 02:48
The beta installer only contains packages for Microsoft Visual Studio, not MinGW. If you run the installer again and read the package names carefully, you'll see it.

You can either download Visual Studio Express, or build Qt 5 from source (http://qt-project.org/wiki/Building-Qt-5-from-Git), or download Qt 4.8.

However, if you download Qt 4.8, your MinGW needs to have GCC 4.4 to 4.6 ...the latest GCC 4.7 is incompatible.

norziakoda
17th November 2012, 08:14
yeps dear its shows error for me also...

Asus
17th November 2012, 17:14
Hi,

I downloaded QT 4.8 and MinGw 4.6, but when I try to compile a demos in the command line, I get cannot find lqtcore4. I ran Qt 4.8.3 Command Line so the %path% and variable should be fine.. the command I run is make..

Is there an IDE coming with this version ? if I want to add a breakout it will be simpler.

thanks

Added after 33 minutes:

I ran make on the folder of Qt and now I get cannot find lQtGui4. When I go in lib folder, I've notice libQtCode4.a was updated by make. I will let the make finish and run again and I think it should be ok after that.

Does anybody know how to use the debuguer ? Do we have to use it on the command line ?

amleto
17th November 2012, 21:01
why dont you start here

http://qt-project.org/doc/qt-5.0/

norziakoda
18th November 2012, 07:16
thanks for that dear..

norziakoda
19th November 2012, 13:04
now mine is good no more errors