|
-
May 8th, 2009, 12:19 PM
#1
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
-
May 8th, 2009, 03:25 PM
#2
Re: QT Creator Help (begginer)
Using an out-of-date compiler?
-
May 9th, 2009, 03:47 AM
#3
Re: QT Creator Help (begginer)
What version of QT Creator you using ?
Thanks for your help.
-
May 9th, 2009, 04:49 AM
#4
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 ?
-
May 10th, 2009, 01:33 AM
#5
Re: QT Creator Help (begginer)
Thanks for your help.
-
May 10th, 2009, 04:27 AM
#6
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
-
May 10th, 2009, 04:33 AM
#7
Re: QT Creator Help (begginer)
 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.
-
May 10th, 2009, 12:37 PM
#8
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?
-
May 11th, 2009, 11:00 AM
#9
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.
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
-
May 11th, 2009, 10:37 PM
#10
Re: QT Creator Help (begginer)
Mine one is working fine,Try to reinstall.
Thanks for your help.
-
May 12th, 2009, 01:54 AM
#11
Re: QT Creator Help (begginer)
 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.
-
May 12th, 2009, 09:42 PM
#12
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
-
June 26th, 2009, 03:10 AM
#13
Re: QT Creator Help (begginer)
-
June 26th, 2009, 07:55 AM
#14
Re: QT Creator Help (begginer)
 Originally Posted by Katukados
Can someone please help me. Thnx
There's a dedicated Qt forum here,
http://www.qtcentre.org/forum/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|