Some questions that newcomers face in Qt



  • Hello all,

    I'm studying C++ using the PPP, "this":http://www.stroustrup.com/programming1.html book.
    I have chosen Qt as my selection for programming graphics in C++ (i.e. visual C++) for near future. I haven't started Qt ever and still am studying that book. I have just started familiarity with pointers in chapter 17 of it.
    I have some problems in my mind:

    1- When is a good time for starting Qt?

    2- What book I should to study?
    (I have the book, "C++ GUI Programming with Qt 4, Second Edition by Jasmin Blanchette; Mark Summerfield", but while Qt is 5.4 now, isn't that book too old?)

    3- Can I make apps for Windows, using Qt? That is, is it possible to create those application and beautiful apps using Qt?

    Thanks.



    1. I would read and go through generic C++ book first.
      You need to understand C++ to use Qt.
      Qt adds complexity level. And my personal preference would be to concentrate on C++ first, but I've seen these days people starting with Qt programs.
      And installing Qt means you will get compiler and IDE.

    2. Qt 4 public API is not much different from Qt 5. So book is fine.
      But I would advice to install version in the book for learning purposes. You can download 4.8 .

    3. Short - yes. Long - read Qt documentation for supported platforms.



  • Thank you very much for your answers. I still have some other questions! :)

    1- What do you mean by "generic C++ book" please? The book I mentioned (the PPP)? Or another book?

    2- OK, I install Qt 4.8 and start reading the book of Blanchette and Summerfield. But what if I had problem with understanding the subjects of the book? How people are able to start with Qt without learning C++ first?



    1. under generic I meant C++ books. Qt is C++ library, but it is 'extended' C++ and what is more important even simple things there mostly always require understanding of C++ .

    2. As I said I would not start with it, but you could get "show label" example and use it as a black box for you C++ cases study.



  • I second alex_malyu's recommendation. Master C++ first by writing console apps. I would also recommend that you get a copy of The C++ Standard Template Library by Nicolai Josuttis. My observation is that STL is a point of departure for many of Qt's non-graphic utility classes, and they reference the STL in their documentation.


  • Moderators

    Hi,

    What other programming languages do you have experience with?



  • Thank you very much all. I appreciate all of your useful recommendations. :)
    @JKSH: No other one. Just C++.

    So my decision is that, first I finish the PPP book and then go for reading another book or installing Qt and start then with the Blanchette's book.


  • Moderators

    [quote author="r.abbasi" date="1423981682"]So my decision is that, first I finish the PPP book and then go for reading another book or installing Qt and start then with the Blanchette's book.[/quote]Sounds good :)



  • @alex_malyu: I think some misunderstanding has been occurred when I asked question #3!

    I asked this:
    "3- Can I make apps for Windows, using Qt? That is, is it possible to create those application and beautiful apps using Qt?"

    I meant, apart from the operating system that I want to install Qt on it, which is of course MS Windows, I also want to create apps for it. That is, I want to create apps, using Qt, on the Windows OS for the Windows OS. For example, there are numerous apps which have been created for installing on Windows. I want to create such apps.
    Supported platform section is more about those platforms that Qt can be installed on them which is a different topic compared to what I said.


  • Moderators

    [quote author="r.abbasi" date="1424004322"]"3- Can I make apps for Windows, using Qt? That is, is it possible to create those application and beautiful apps using Qt?"

    I meant, apart from the operating system that I want to install Qt on it, which is of course MS Windows, I also want to create apps for it. That is, I want to create apps, using Qt, on the Windows OS for the Windows OS. For example, there are numerous apps which have been created for installing on Windows. I want to create such apps.[/quote]Yes you can. Qt was originally a GUI toolkit for creating apps on Windows and Linux (X11). Windows continues to be one of the most important platforms.



  • Thank you JKSH.

    I'm going to dedicate my first GUI app created by Qt, for my Windows 7 machine so :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.