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. Make coding easier for a learner of Qt
Forum Updated to NodeBB v4.3 + New Features

Make coding easier for a learner of Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 3 Posters 2.9k Views 3 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    From what you wrote it seems you are doing everything from the command line. So what auto completion are you talking about ?

    Note that if you are using Qt Creator, it already provides lots of projects template to start from so you can already benefit from code completion etc.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    tomyT 1 Reply Last reply
    1
    • SGaistS SGaist

      Hi,

      From what you wrote it seems you are doing everything from the command line. So what auto completion are you talking about ?

      Note that if you are using Qt Creator, it already provides lots of projects template to start from so you can already benefit from code completion etc.

      tomyT Offline
      tomyT Offline
      tomy
      wrote on last edited by
      #3

      @SGaist

      From what you wrote it seems you are doing everything from the command line. So what auto completion are you talking about ?

      No. I meat in the Edit view of the Qt Creator IDE used for coding.

      Note that if you are using Qt Creator, it already provides lots of projects template to start from so you can already benefit from code completion etc.

      Yes, I'm waiting for the place where the book tells me to use them and also directs me.

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #4

        hi
        Its very unclear what you are asking. I read it as
        "how can i create a project faster than by hand editing"

        To create a new gui project, one simple choose
        File -> New Project or file
        then Application as type and GUI application in the right side
        alt text

        You get the main.cpp and a mainwindow. ready to run.

        tomyT 1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #5

          The feature is already there from the start, just use the tools you have at your disposal without waiting for the book to tell you to do it.

          Do you realise you are basically complaining about an "old" book teaching you how to use Qt from scratch while nobody forbids you to directly use Qt Creator with all its features to code ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          tomyT 1 Reply Last reply
          1
          • mrjjM mrjj

            hi
            Its very unclear what you are asking. I read it as
            "how can i create a project faster than by hand editing"

            To create a new gui project, one simple choose
            File -> New Project or file
            then Application as type and GUI application in the right side
            alt text

            You get the main.cpp and a mainwindow. ready to run.

            tomyT Offline
            tomyT Offline
            tomy
            wrote on last edited by
            #6

            @mrjj

            alt text

            Your Qt Creator is really fascinating! May I ask what version you use or what OS you're using?

            mrjjM 1 Reply Last reply
            0
            • SGaistS SGaist

              The feature is already there from the start, just use the tools you have at your disposal without waiting for the book to tell you to do it.

              Do you realise you are basically complaining about an "old" book teaching you how to use Qt from scratch while nobody forbids you to directly use Qt Creator with all its features to code ?

              tomyT Offline
              tomyT Offline
              tomy
              wrote on last edited by tomy
              #7

              @SGaist

              The feature is already there from the start, just use the tools you have at your disposal without waiting for the book to tell you to do it.

              Yes, but there are two options that I should cull one!
              The first is using the new method and that way I can't rely on the book at this point and will be bending to Docs.

              The other option is using the old method but having the book as my supporter! I cull this.

              Do you realise you are basically complaining about an "old" book teaching you how to use Qt from scratch while nobody forbids you to directly use Qt Creator with all its features to code ?

              Yeah, I know. I wish there were a new edition of that book. ;)

              1 Reply Last reply
              0
              • tomyT tomy

                @mrjj

                alt text

                Your Qt Creator is really fascinating! May I ask what version you use or what OS you're using?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #8

                @tomy
                Hi
                That is just the newest Creator. 4.41

                If you can run the
                c:\MaintenanceTool.exe and select "Update components "
                Should give the newest version.

                //your code here

                As far as i recall the book does not really explain much about Creator.
                You can get an overview from here
                https://doc.qt.io/qtcreator/index.html
                Most of it is also beginner friendly and explains well
                https://doc.qt.io/qtcreator/creator-coding-navigating.html

                tomyT 1 Reply Last reply
                0
                • mrjjM mrjj

                  @tomy
                  Hi
                  That is just the newest Creator. 4.41

                  If you can run the
                  c:\MaintenanceTool.exe and select "Update components "
                  Should give the newest version.

                  //your code here

                  As far as i recall the book does not really explain much about Creator.
                  You can get an overview from here
                  https://doc.qt.io/qtcreator/index.html
                  Most of it is also beginner friendly and explains well
                  https://doc.qt.io/qtcreator/creator-coding-navigating.html

                  tomyT Offline
                  tomyT Offline
                  tomy
                  wrote on last edited by
                  #9

                  @mrjj
                  Hi,

                  If you can run the
                  c:\MaintenanceTool.exe and select "Update components "
                  Should give the newest version.

                  It failed! :(
                  0_1507451989520_Capture.PNG

                  As far as i recall the book does not really explain much about Creator.
                  You can get an overview from here
                  https://doc.qt.io/qtcreator/index.html
                  Most of it is also beginner friendly and explains well
                  https://doc.qt.io/qtcreator/creator-coding-navigating.html

                  Thank you.

                  1 Reply Last reply
                  0
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Hmm are you using Qt5.5 ?
                    Only saw that error there.

                    tomyT 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      Hmm are you using Qt5.5 ?
                      Only saw that error there.

                      tomyT Offline
                      tomyT Offline
                      tomy
                      wrote on last edited by
                      #11

                      @mrjj
                      It's 5.9 apparently.
                      0_1507458454476_Capture.PNG

                      mrjjM 1 Reply Last reply
                      0
                      • tomyT tomy

                        @mrjj
                        It's 5.9 apparently.
                        0_1507458454476_Capture.PNG

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by mrjj
                        #12

                        @tomy
                        Ok, so even new ones do that from time to time.
                        https://forum.qt.io/topic/83055/qt-maintenancetool-failure-to-fetch-repositories-error

                        tomyT 1 Reply Last reply
                        0
                        • mrjjM mrjj

                          @tomy
                          Ok, so even new ones do that from time to time.
                          https://forum.qt.io/topic/83055/qt-maintenancetool-failure-to-fetch-repositories-error

                          tomyT Offline
                          tomyT Offline
                          tomy
                          wrote on last edited by
                          #13

                          @mrjj
                          I entered my account info and tested it again then it worked and it's now updated.
                          Thanks.

                          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