QT Creator Help (begginer)
Hey, I am beggining to learn to program in C++ (I already know some Visual Basic .NET). I don't want to program C++ in Visual Studio (Visual C++) because I'm going to stop using Windows (Im going to stay with linux, and later on with Mac).
I decided to use QT Creator as it looks a quite nice IDE.
I have already installed QT Creator (in windows) and its respectives libraries.
I was reading a tutorial in www.cplusplus.com and I was doing a Hello World in QT.
but it gives an error in the first code line I enter! :s
#include <iostream>
it says: No such file or directory.
The same happens with other #includes.
Can someone please help me. Thnx
Re: QT Creator Help (begginer)
Using an out-of-date compiler?
Re: QT Creator Help (begginer)
What version of QT Creator you using ?
Re: QT Creator Help (begginer)
It doesn't mean you can't build an application with visual studio for non windows. Before qt creator everyone were using visual studio. VC++ is a C++ compiler.
Still, many are using using Visual studio for qt development.
Qt creator uses gcc compiler.
One happy and welcome news is, current qt version is also available under LGPL which makes me turn again into Qt.
Did you download and install Qt SDK ? or only Qt Creator ?
Re: QT Creator Help (begginer)
Re: QT Creator Help (begginer)
I installed QT SDK and the windows libraries availble in the website. I dont want to use VC++ not because im going to program non windows apps, its because im going to program in other operating systems (linux and mac osx), and as far as i am concerned VC++ doesnt run in those OS's .
Thanx for the help, but this still doesnt work :s
Re: QT Creator Help (begginer)
Quote:
Originally Posted by Katukados
I installed QT SDK and the windows libraries availble in the website. I dont want to use VC++ not because im going to program non windows apps, its because im going to program in other operating systems (linux and mac osx), and as far as i am concerned VC++ doesnt run in those OS's .
Qt is a cross platform framework, so as long as you do not rely on Windows specific components, I would expect that the programs you write would be relatively easy to port to other platforms for which a Microsoft compiler is not available. As such, this objection to using Visual Studio and MSVC is not based on sound reasoning.
Re: QT Creator Help (begginer)
My QT still doesnt recognize the #includes. I have tried in 2 different PCs, and have unistalled and installed again, but with no success at all.
What should I do?
Re: QT Creator Help (begginer)
Weird, it works fine after install here. Have a look at the output window and paste what you see there into this thread.
Re: QT Creator Help (begginer)
Mine one is working fine,Try to reinstall.
Re: QT Creator Help (begginer)
Quote:
Originally Posted by
Katukados
My QT still doesnt recognize the #includes. I have tried in 2 different PCs, and have unistalled and installed again, but with no success at all.
What should I do?
Try using a different IDE, the Bloodshed Dev-C++ is the IDE I use, it's free for download on http://www.bloodshed.com site.
Re: QT Creator Help (begginer)
Hi there:
If you are using window, you need to add an enviroment path variable to make it work
For example if you installed the SDK with Mingw
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Qt\2009.02\mingw\bin;
Notice the path: C:\Qt\2009.02\mingw\bin;
Or if you are using Qt creator with mingw, the path will probably in c:\mingw\bin\
Cheers
Louis
Re: QT Creator Help (begginer)
Re: QT Creator Help (begginer)
Quote:
Originally Posted by
Katukados
Can someone please help me. Thnx
There's a dedicated Qt forum here,
http://www.qtcentre.org/forum/