C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28645
Number of posts: 94661

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
GUI Qt for C++ Posted by AlecC on 31 May 2011 at 9:13 PM
Hi, I'm a beginner at C++ and I was wondering if I could get some help with making a gui using QT. Well not really help on making a gui more like help on seeing if I installed QT properly onto my computer. I downloaded the Qt sdk and ran it like normal and let it do all the work. What I'm wondering is do I have to add a path and how can I tell I did everything properly? Should the Qt sdk just do everything on its own or do I have to do additional stuff? Also could somebody show me a guide to using Qt?

Also can you program on Microsoft Visual C++ 2010 with the added library? I'm assuming yes because it is a library and all you have to do is include the stuff, but I could be wrong be cause Qt also gave you a IDE or compiler (just checking to be sure).

I also try to compile some simple example programs, but it comes up with something like "cannot find #include <QtGui>" or something like that. Which leads me to thinking I need to add a path or something, but I'm not exactly sure where to look...

Any help is really appreciated and thank you.
Report
Re: GUI Qt for C++ Posted by dede on 2 Jun 2011 at 10:42 AM
Hi
First of all Qt is not a compiler, it's just an IDE, it's based on the gcc, yet you can use borland C++ or MS VC++ once you have Qt onboard.

I'm not sure what do you mean by "do all the work".
In Visual Studio, of course you have to assign a path for the Qt Libs in case you are gonna code in MSVC++ editor. you can do that from the project settings.

It will teach you all you need about using Qt under Linux and/or Windows platforms.

dede
Report
Re: GUI Qt for C++ Posted by AlecC on 2 Jun 2011 at 9:37 PM
Thanks I hope this helps. Is it alright if I ask some questions if I have some problems along the way?
Report
Re: GUI Qt for C++ Posted by sscheme on 12 Jan 2012 at 1:25 AM
If you download QT SDK it has lots of application samples and you can also start from here

http://developer.qt.nokia.com/doc/qt-4.8/gettingstartedqt.html
Report
Re: GUI Qt for C++ Posted by sscheme on 12 Jan 2012 at 1:27 AM
If you download QT SDK it has lots of application samples and you can also start from here

http://developer.qt.nokia.com/doc/qt-4.8/gettingstartedqt.html



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.