PDA

View Full Version : C & QT Question



DaveHope
12-22-2003, 08:42 AM
Hello all, as you can see this is my first post on the forum, so I'll try and make it a good one :D. At about 1am I started playing with C, no idea why, but I did. I've wirtten a terminal "Hello World!" application, well, 6 incarnations of it and would now like to make a QT based "Hello World!" app. I've googled but found very little info on doing so. I've got the QT designer installed, but how do I go about making say a message box which pops up saying "Hello World!" and a ok/close button?

Thanks guys!

glUser3f
12-22-2003, 12:51 PM
jumping from HelloWorld to Qt isn't exactly the best thing to do, you should learn C first, and then learn Qt.
Anyway, here is the tutorial:
http://doc.trolltech.com/3.2/tutorial1-01.html

EDIT:
I almost forgot, Qt is C++ and not C.

DaveHope
12-22-2003, 01:07 PM
jumping from HelloWorld to Qt isn't exactly the best thing to do, you should learn C first, and then learn Qt.

But, But....Ohh, ok :D


Anyway, here is the tutorial:
http://doc.trolltech.com/3.2/tutorial1-01.html

Thanks, will bookamrk it for a few years time :D


EDIT:
I almost forgot, Qt is C++ and not C.
Ahh well, when I do eventually get round to QT, I'll be in sound mind knowing that C code will compile as C++ :D

Thanks!

glUser3f
12-22-2003, 01:20 PM
>Thanks, will bookamrk it for a few years time
no, no, it can be a matter of several months and you will be able to create nice GUIs using Qt, you just need to learn, good luck :)

DaveHope
12-22-2003, 01:32 PM
Thanks, I hope so :D, but I must admin so far C doesn't seem too hard, but that's probably because of my already existant knowledge of PHP. (either that, or that fact that so far all I've done is a hello world program with a few loops & change in color :D)