Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Starting with QT and doubts about C++

Starting with QT and doubts about C++

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 4.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    brunoluiz
    wrote on last edited by
    #1

    Hello,

    I'm starting with QT 4, but I need to know what I've to learn about C++, because I don't have so much time to learn all things of C++ although this language is very interesting.

    I already learned and worked with C and have a little knowledge of QT Widgets (very very basic).

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      There is no definite answer to this question, this is far too vague. In on or the other corner you will stumble upon many if not most of the features C++ gives us. What you definitely will need as an absolute minimum

      • basic constructs like loops, variable declaration, etc. (that should be easy, as it's like C)
      • the difference between declaring and defining things
      • the difference between values, references and pointers
      • classes
      • inheritance
      • operator overloading
      • polymorphic classes
      • using templates
      • virtual and non virtual methods, how to use them
      • compilation units, what's the compiler, what's the linker

      I'm pretty sure I forgot a good number..

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • B Offline
        B Offline
        brunoluiz
        wrote on last edited by
        #3

        Thank you.

        I remembered other question: there is some limitation for QT for embedded devices?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          [quote author="brunoluiz" date="1325458719"]Thank you.

          I remembered other question: there is some limitation for QT for embedded devices?[/quote]

          Basically: no. The functionality is available on every platform. There are some limitations here and there, but they are mentioned in the respective docs.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fluca1978
            wrote on last edited by
            #5

            [quote author="brunoluiz" date="1325452193"]Hello,

            I'm starting with QT 4, but I need to know what I've to learn about C++, because I don't have so much time to learn all things of C++ although this language is very interesting.
            [/quote]

            Well, Qt is built on C++, so it exploits all the features that C++ can give you. This does not mean you have to know everything about C++: classes, inheritance, memory allocation (and deallocation), operator overloading, refrences and virtual method would suffice to start. However it depends on what you are trying to build with Qt. I suggest you to take the time to learn C++ while implementing in Qt, and to read a good C++/Qt book (C++ GUI Programming with Qt 4, 1st and 2nd Edition, by Jasmin Blanchette, Mark Summerfield as an example). Beside that, try to use good patterns and development with Qt will be easy and fun.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              broadpeak
              wrote on last edited by
              #6

              According to Qt Certification Program:

              So, if you are new in C++:
              Accelerated C++, by Andrew Koenig, Barbara E. Moo
              (For beginners, this book is perfect)
              Thinking in C++, vol 1 and vol 2, by Bruce Eckel
              (IMHO the BEST C++ book ever written)
              Effective C++ series by by Scott Meyers.
              (Only for advanced developers!)

              And, if you try to learn Qt:
              C++ GUI Programming with Qt 4, by Jasmin Blanchette & Mark Summerfield
              (This is the official Qt book)
              Foundations of Qt Development, by Johan Thelin
              (Very well written Qt book)
              An Introduction to Design Patterns in C++ with Qt 4, by Paul & ALan Ezust
              (An introductory C++ and Qt)
              The Book of Qt 4: The Art of Building Qt Applications, by Daniel Molkentin
              (Very well written Qt book)

              Advanced Qt Programming, by Mark Summerfield
              (Only for advanced developers!)

              Well, I offer you "only" ~5000 pages reading :)
              (I've read all of them, so I can offer this books!)

              1 Reply Last reply
              0
              • B Offline
                B Offline
                brunoluiz
                wrote on last edited by
                #7

                Haha, very few books for read at my vacations XD I've found one brazilian book about "migration from C to C++", but after read this one I'll take one of these recommended books.

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  brunoluiz
                  wrote on last edited by
                  #8

                  Do you have an ebook version (PDF or ePub) of these books? I've the C++ GUI Programming with Qt 4 (version 1), but the others I didn't found.

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    fluca1978
                    wrote on last edited by
                    #9

                    [quote author="brunoluiz" date="1325542793"]Do you have an ebook version (PDF or ePub) of these books? I've the C++ GUI Programming with Qt 4 (version 1), but the others I didn't found.[/quote]

                    You can search on Amazon or other engines alike.
                    By the way, be aware that "migrating from C to C++" is often just a syntax highlight, in order to program C++ you have to think in C++, not to adjust C to C++. That is my opinion.

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      broadpeak
                      wrote on last edited by
                      #10

                      [post removed by mariusg/admin - get the books through proper channels please - http://developer.qt.nokia.com/books is a good starting point]

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved