Qt World Summit: Register Today!

[HELP] Getting into using Qt

  • Greetings

    I'm new to the C++ laguange and very new to the GUI part so I'm sry if you are feeling like you are wasting your time on me. any ways. I heard that Qt should be a wonder full tool that gives the much more options in terms of GUI design.

    so I've downloaded the program it runs fine and all that.. so I tried to find a tutorial to teach me how to use it.

    I found this:
    "Your text to link here...":http://sector.ynet.sk/qt4-tutorial/my-first-qt-gui-application.html

    I get stuck at the "enviroment variables" part.. even though I've typed in the directions the tutorial tells me..

    the reason why the tutorial wants me to do this is because it wants me to use the designer tool and not the creator to make my program and their for I have to compile it in the command promp. but now when that didn't work I tried to simply just make it all in the creator by just coping the code from the tutorial into the files the creator gave me. and I ofcourse changed some names and definations in the code so it matched what I had. but I still got alot of errors.

    so what I'm asking for is some help on this issue or a completely other tutorial.
    What I'll make as my first program is a calculator which shouldn't be that hard. so plz help me out

  • You can take a look at the official "tutorials":http://doc.qt.nokia.com/4.7/tutorials.html - but i recommend you read at least one C++ book before starting with Qt, because you will need C++ knowledge for Qt.

  • Hi banjo,

    welcome in this forum, I holp we can help a little bit here :-)

    First regarding downloading qt: I suggest you use the "Qt SDK 1.1 RC":http://developer.qt.nokia.com/prereleases, nearly everything of it is released. If you use the online installer, you can select, which Qt versions and tool chains (e.g. mingw) you want to use. That reduces the stuff you have to download.

    Rergarding tutorials, there are several options:

    Start QtCreator, on the welcome screen, getting started, there are some links (open examples, tutorials, ...)

    go to the "online docs":http://doc.qt.nokia.com/4.7/index.html --> "tutorials":http://doc.qt.nokia.com/4.7/tutorials.html

    I suggest looking at these two things to start.

    As you said, you are also new to C++, it could be a good idea to have a good C++ book beside to read a bit. C++ has some pitfalls, you might hit if you don't know them. It is a very powerfull language, so it has many possibilities. For a reference of books, have a look at our "wiki":http://developer.qt.nokia.com/wiki/Books_and_Links_for_learning_C_and_advanced_topics .

    Hope that helps a bit. If you have further questions, feel free to ask :-)

  • Thank yu very much for the help.. I do know the basic behind C++... I've also played around with java.. so I do have the basics of c++ and objective orientated programming.

    But thx for the links I'll try to look around at the tutorials and hopefully learn from them.

Log in to reply