Results 1 to 3 of 3

Thread: Proper way to start learning Qt

  1. #1
    Join Date
    Sep 2016
    Posts
    10
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Proper way to start learning Qt

    Hello to all, nice to find this community around.

    I have some experience with programing but mostly with web oriented programming languages and now I'm wandering what are the natural steps to be able to start with Qt.
    I have looked in to the documentation but as a beginner is not so clear for me 100%. I have no background with C++, the only contact with OOP concepts was in php, I'm able to understand some parts of the documentation but is a little bit difficult to make connections between some OOP concepts that I have saw.

    Given the facts, what are the natural steps to fallow to be able to learn and understand Qt as a beginner in the field.

    Thank you in advance.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Proper way to start learning Qt

    Wow, if you don't know C++ you are going to have a hard time. If you have Web development experience, do you know any Python? There are a couple of Python wrappers for Qt (PyQt is probably one of the most well-known), so I would start there if you know Python.

    Otherwise, I'd start by learning some C++ first, particularly understanding how inheritance and virtual methods work. Those are key C++ concepts used throughout Qt.

    Another concept, not exclusive to C++, is event-driven programming. This is much different from older-style procedural programming where your program starts at the top and runs to the bottom and retains control the whole time. In event-driven programming, your program consists (usually) of small sections of code that get executed in response to something from the outside. All Qt programs are event-driven, and there are two types - "events", like mouse clicks, key presses, etc., and "signals" which are generated by other elements in your program. Your Qt program generally just sits there, waiting for an event to occur which you've written code to handle. It's a style of programming logic that takes some getting used to.

    Once you feel comfortable with some basic C++, the Qt distribution comes with a huge set of examples and tutorials that cover almost every Qt module.

    You can also write programs using Qt's QML language, similar to javascript. This might be an easier place to start if you are familiar with javascript, and if your goal is to develop small apps this might be all you need. For any serious desktop programs, I think you'll eventually need to learn the C++ side of Qt.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    davinciomar Guest

    Default Re: Proper way to start learning Qt

    I think, we have a lot of tutorials of c++ and Qt on the internet. So we only need to check tutorials and start with easy examples. I dont know very well c++ too but i saw a lot of time this language and OOP(Object oriented-programming). I can do easy thing but anyways my level is too low.

    So i think with the experience and practicing we could be better.

Similar Threads

  1. After learning C++\Qt ...
    By graciano in forum General Programming
    Replies: 3
    Last Post: 5th December 2014, 15:26
  2. QT program start without proper main window
    By s_eye in forum Qt Programming
    Replies: 6
    Last Post: 2nd July 2014, 14:06
  3. QT Learning
    By cuteatul in forum Qt Programming
    Replies: 4
    Last Post: 8th July 2011, 17:25
  4. Learning by doing
    By skoegl in forum General Discussion
    Replies: 2
    Last Post: 3rd November 2007, 15:18
  5. Learning Qt with C++
    By Philip_Anselmo in forum Newbie
    Replies: 2
    Last Post: 4th May 2006, 23:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.