C & QT Question

This is a discussion on C & QT Question within the Linux Programming forums, part of the Platform Specific Boards category; Hello all, as you can see this is my first post on the forum, so I'll try and make it ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    68

    C & QT Question

    Hello all, as you can see this is my first post on the forum, so I'll try and make it a good one . 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!

  2. #2
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    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.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    68
    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
    Anyway, here is the tutorial:
    http://doc.trolltech.com/3.2/tutorial1-01.html
    Thanks, will bookamrk it for a few years time
    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++

    Thanks!

  4. #4
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    >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

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    68
    Thanks, I hope so , 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 )

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 12:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21