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. Qt Programming Language
Forum Updated to NodeBB v4.3 + New Features

Qt Programming Language

Scheduled Pinned Locked Moved Unsolved General and Desktop
331 Posts 17 Posters 312.0k Views 9 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.
  • J JKSH
    8 Nov 2018, 03:44

    @Annabelle said in Qt Programming Language:

    JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

    This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

    See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

    If you still have no luck with JAWS, does the Microsoft Narrator work?

    A Offline
    A Offline
    Annabelle
    wrote on 8 Nov 2018, 15:04 last edited by
    #239

    @JKSH said in Qt Programming Language:

    @Annabelle said in Qt Programming Language:

    JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

    This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

    See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

    If you still have no luck with JAWS, does the Microsoft Narrator work?

    I ran it again, and in the Command Prompt, I got:
    "Hello World! Press any key to continue..."
    What do I do next?

    J 1 Reply Last reply 8 Nov 2018, 20:46
    0
    • A Annabelle
      8 Nov 2018, 15:04

      @JKSH said in Qt Programming Language:

      @Annabelle said in Qt Programming Language:

      JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

      This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

      See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

      If you still have no luck with JAWS, does the Microsoft Narrator work?

      I ran it again, and in the Command Prompt, I got:
      "Hello World! Press any key to continue..."
      What do I do next?

      J Offline
      J Offline
      JonB
      wrote on 8 Nov 2018, 20:46 last edited by JonB 11 Aug 2018, 20:47
      #240

      @Annabelle

      What do I do next?

      Well, that's it for "Hello World": you've done it! (And very well done!) You have written a program, compiled it, and run it successfully with the expected output.

      What you do now is up to you :) If you mean you want to turn to Qt you'd have to install it, I don't know what you intended to do.

      A 1 Reply Last reply 8 Nov 2018, 21:06
      1
      • J JonB
        8 Nov 2018, 20:46

        @Annabelle

        What do I do next?

        Well, that's it for "Hello World": you've done it! (And very well done!) You have written a program, compiled it, and run it successfully with the expected output.

        What you do now is up to you :) If you mean you want to turn to Qt you'd have to install it, I don't know what you intended to do.

        A Offline
        A Offline
        Annabelle
        wrote on 8 Nov 2018, 21:06 last edited by
        #241

        @JonB said in Qt Programming Language:

        @Annabelle

        What do I do next?

        Well, that's it for "Hello World": you've done it! (And very well done!) You have written a program, compiled it, and run it successfully with the expected output.

        What you do now is up to you :) If you mean you want to turn to Qt you'd have to install it, I don't know what you intended to do.

        I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

        J 1 Reply Last reply 8 Nov 2018, 21:10
        0
        • A Annabelle
          8 Nov 2018, 21:06

          @JonB said in Qt Programming Language:

          @Annabelle

          What do I do next?

          Well, that's it for "Hello World": you've done it! (And very well done!) You have written a program, compiled it, and run it successfully with the expected output.

          What you do now is up to you :) If you mean you want to turn to Qt you'd have to install it, I don't know what you intended to do.

          I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

          J Offline
          J Offline
          JonB
          wrote on 8 Nov 2018, 21:10 last edited by
          #242

          @Annabelle
          You can integrate Visual Studio with Qt to develop programs, or you can use Qt Creator as your "IDE" (Integrated Development Environment). I don't know whether previous discussions have indicated a preference for which one for you.

          A 1 Reply Last reply 8 Nov 2018, 22:29
          0
          • J JonB
            8 Nov 2018, 21:10

            @Annabelle
            You can integrate Visual Studio with Qt to develop programs, or you can use Qt Creator as your "IDE" (Integrated Development Environment). I don't know whether previous discussions have indicated a preference for which one for you.

            A Offline
            A Offline
            Annabelle
            wrote on 8 Nov 2018, 22:29 last edited by
            #243

            @JonB said in Qt Programming Language:

            @Annabelle
            You can integrate Visual Studio with Qt to develop programs, or you can use Qt Creator as your "IDE" (Integrated Development Environment). I don't know whether previous discussions have indicated a preference for which one for you.

            I think from what I've experienced so far, Visual Studio is the more accessible one for me. That being said, how would I make Qt programs with Visual Studio?

            1 Reply Last reply
            0
            • J JKSH
              16 Sept 2018, 13:33

              @Annabelle said in Qt Programming Language:

              I use JAWS (Job Access With Speech).

              JAWS does work with Visual Studio: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d9b295e6-fa48-4c44-8129-37ccf55689f9/is-visual-studio-compatable-with-any-screen-readers-for-example-jaws-nvda-or-zoomtext-i-am

              @Annabelle said in Qt Programming Language:

              Is there a web site I can go to in order to learn more about these concepts you explain? I've tried http://www.learncpp.com, but what's there doesn't seem to focus on some of the code you explained.

              All the concepts I mentioned are discussed in http://www.learncpp.com.

              • Strings are in chapters 4, 6, and 17.
              • Variables are in chapters 1, 2, and 4.
              • Literals are in chapter 2.
              • Enumerations are in chapter 4.
              • Assignment and comparison operators are in chapter 1 (specifically, section 1.5).
              • if statements are in chapters 2 and 5.

              At the very least, work through all of chapter 0, all of chapter 1, section 2.1, and section 2.6. After that, search for the concepts I mentioned before.

              This will take time (a few weeks at least), but it will be worth it.

              All the best with learning C++!

              J Offline
              J Offline
              JKSH
              Moderators
              wrote on 9 Nov 2018, 02:53 last edited by JKSH 11 Sept 2018, 05:58
              #244

              @Annabelle said in Qt Programming Language:

              @JKSH said in Qt Programming Language:

              @Annabelle said in Qt Programming Language:

              JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

              This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

              See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

              If you still have no luck with JAWS, does the Microsoft Narrator work?

              I ran it again, and in the Command Prompt, I got:
              "Hello World! Press any key to continue..."

              Great! That means JAWS can read the outputs of your programs.

              What do I do next?

              Do you remember the plan? Your task is to learn the basics of C++ first, without Qt.

              First, try to modify the code to make the Command Prompt say something other than "Hello world!". For example, try to make it say, "Hi Annabelle!"

              After that, continue working through the learncpp.com tutorial.

              @Annabelle said in Qt Programming Language:

              I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

              C++ is a programming language, while Qt is a library for C++. You use the C++ language to write programs with the Qt library.

              This is why learning the basics of C++ is an important step to achieve your goal of making Qt programs.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              A 1 Reply Last reply 9 Nov 2018, 08:04
              2
              • J JKSH
                9 Nov 2018, 02:53

                @Annabelle said in Qt Programming Language:

                @JKSH said in Qt Programming Language:

                @Annabelle said in Qt Programming Language:

                JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

                This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

                See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

                If you still have no luck with JAWS, does the Microsoft Narrator work?

                I ran it again, and in the Command Prompt, I got:
                "Hello World! Press any key to continue..."

                Great! That means JAWS can read the outputs of your programs.

                What do I do next?

                Do you remember the plan? Your task is to learn the basics of C++ first, without Qt.

                First, try to modify the code to make the Command Prompt say something other than "Hello world!". For example, try to make it say, "Hi Annabelle!"

                After that, continue working through the learncpp.com tutorial.

                @Annabelle said in Qt Programming Language:

                I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

                C++ is a programming language, while Qt is a library for C++. You use the C++ language to write programs with the Qt library.

                This is why learning the basics of C++ is an important step to achieve your goal of making Qt programs.

                A Offline
                A Offline
                Annabelle
                wrote on 9 Nov 2018, 08:04 last edited by
                #245

                @JKSH said in Qt Programming Language:

                @Annabelle said in Qt Programming Language:

                @JKSH said in Qt Programming Language:

                @Annabelle said in Qt Programming Language:

                JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

                This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

                See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

                If you still have no luck with JAWS, does the Microsoft Narrator work?

                I ran it again, and in the Command Prompt, I got:
                "Hello World! Press any key to continue..."

                Great! That means JAWS can read the outputs of your programs.

                What do I do next?

                Do you remember the plan? Your task is to learn the basics of C++ first, without Qt.

                First, try to modify the code to make the Command Prompt say something other than "Hello world!". For example, try to make it say, "Hi Annabelle!"

                After that, continue working through the learncpp.com tutorial.

                @Annabelle said in Qt Programming Language:

                I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

                C++ is a programming language, while Qt is a library for C++. You use the C++ language to write programs with the Qt library.

                This is why learning the basics of C++ is an important step to achieve your goal of making Qt programs.

                Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                J J 2 Replies Last reply 9 Nov 2018, 08:27
                0
                • A Annabelle
                  9 Nov 2018, 08:04

                  @JKSH said in Qt Programming Language:

                  @Annabelle said in Qt Programming Language:

                  @JKSH said in Qt Programming Language:

                  @Annabelle said in Qt Programming Language:

                  JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

                  This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

                  See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

                  If you still have no luck with JAWS, does the Microsoft Narrator work?

                  I ran it again, and in the Command Prompt, I got:
                  "Hello World! Press any key to continue..."

                  Great! That means JAWS can read the outputs of your programs.

                  What do I do next?

                  Do you remember the plan? Your task is to learn the basics of C++ first, without Qt.

                  First, try to modify the code to make the Command Prompt say something other than "Hello world!". For example, try to make it say, "Hi Annabelle!"

                  After that, continue working through the learncpp.com tutorial.

                  @Annabelle said in Qt Programming Language:

                  I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

                  C++ is a programming language, while Qt is a library for C++. You use the C++ language to write programs with the Qt library.

                  This is why learning the basics of C++ is an important step to achieve your goal of making Qt programs.

                  Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                  J Offline
                  J Offline
                  JonB
                  wrote on 9 Nov 2018, 08:27 last edited by
                  #246

                  @Annabelle said in Qt Programming Language:

                  Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                  Yes indeed! You should not be confused.

                  I had not realised you were working through a learn C++ tutorial. That is an excellent idea. Moving onto Qt now would be a huge step --- you have to learn to walk before you can run!

                  @JKSH is getting you to just modify some existing, working code to do something slightly different. That happens all the time in programming.

                  Get it working with the new message instead of the present one. Then, how about making it output two lines instead of one? After it has said the new Hi Annabelle!, make it say Bye bye now. That is going to require a second std::cout line after the existing one, isn't it? You can either type that in from scratch, or to avoid typing you could copy & paste your existing line and then change the string in the middle of the line. I don't know how easily your interface allows you to copy & paste, it's up to you.

                  1 Reply Last reply
                  1
                  • A Annabelle
                    9 Nov 2018, 08:04

                    @JKSH said in Qt Programming Language:

                    @Annabelle said in Qt Programming Language:

                    @JKSH said in Qt Programming Language:

                    @Annabelle said in Qt Programming Language:

                    JAWS doesn't show anything in the Command Prompt. If the text was shown, I'd be able to read it with the left and right arrow keys.

                    This user (KrolPolski) found that arrow keys don't work in the Command Prompt for JAWS, but another user (Graham87) described a workaround: https://www.reddit.com/r/Blind/comments/8zf1f1/using_a_command_prompt_with_jaws/

                    See if you can get JAWS to read something on the Command Prompt before it closes. The Command Prompt should contain the text, "Hello world!"

                    If you still have no luck with JAWS, does the Microsoft Narrator work?

                    I ran it again, and in the Command Prompt, I got:
                    "Hello World! Press any key to continue..."

                    Great! That means JAWS can read the outputs of your programs.

                    What do I do next?

                    Do you remember the plan? Your task is to learn the basics of C++ first, without Qt.

                    First, try to modify the code to make the Command Prompt say something other than "Hello world!". For example, try to make it say, "Hi Annabelle!"

                    After that, continue working through the learncpp.com tutorial.

                    @Annabelle said in Qt Programming Language:

                    I wonder if I could make Qt programs with Visual Studio. Or is that just for C++?

                    C++ is a programming language, while Qt is a library for C++. You use the C++ language to write programs with the Qt library.

                    This is why learning the basics of C++ is an important step to achieve your goal of making Qt programs.

                    Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                    J Offline
                    J Offline
                    JKSH
                    Moderators
                    wrote on 9 Nov 2018, 13:06 last edited by
                    #247

                    @Annabelle said in Qt Programming Language:

                    Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                    Be adventurous and give it a try!

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    A 1 Reply Last reply 10 Nov 2018, 13:02
                    0
                    • J JKSH
                      9 Nov 2018, 13:06

                      @Annabelle said in Qt Programming Language:

                      Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                      Be adventurous and give it a try!

                      A Offline
                      A Offline
                      Annabelle
                      wrote on 10 Nov 2018, 13:02 last edited by
                      #248

                      @JKSH said in Qt Programming Language:

                      @Annabelle said in Qt Programming Language:

                      Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                      Be adventurous and give it a try!

                      I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                      J J 2 Replies Last reply 11 Nov 2018, 06:43
                      0
                      • A Annabelle
                        10 Nov 2018, 13:02

                        @JKSH said in Qt Programming Language:

                        @Annabelle said in Qt Programming Language:

                        Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                        Be adventurous and give it a try!

                        I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                        J Offline
                        J Offline
                        JKSH
                        Moderators
                        wrote on 11 Nov 2018, 06:43 last edited by
                        #249

                        @Annabelle said in Qt Programming Language:

                        I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                        Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                        After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        A 1 Reply Last reply 11 Nov 2018, 11:32
                        1
                        • J JKSH
                          11 Nov 2018, 06:43

                          @Annabelle said in Qt Programming Language:

                          I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                          Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                          After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                          A Offline
                          A Offline
                          Annabelle
                          wrote on 11 Nov 2018, 11:32 last edited by
                          #250

                          @JKSH said in Qt Programming Language:

                          @Annabelle said in Qt Programming Language:

                          I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                          Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                          After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                          That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                          J 1 Reply Last reply 12 Nov 2018, 06:06
                          0
                          • A Annabelle
                            11 Nov 2018, 11:32

                            @JKSH said in Qt Programming Language:

                            @Annabelle said in Qt Programming Language:

                            I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                            Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                            After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                            That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                            J Offline
                            J Offline
                            JKSH
                            Moderators
                            wrote on 12 Nov 2018, 06:06 last edited by
                            #251

                            @Annabelle said in Qt Programming Language:

                            Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                            After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                            That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                            To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            A 1 Reply Last reply 12 Nov 2018, 13:27
                            0
                            • J JKSH
                              12 Nov 2018, 06:06

                              @Annabelle said in Qt Programming Language:

                              Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                              After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                              That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                              To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                              A Offline
                              A Offline
                              Annabelle
                              wrote on 12 Nov 2018, 13:27 last edited by
                              #252

                              @JKSH said in Qt Programming Language:

                              @Annabelle said in Qt Programming Language:

                              Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                              After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                              That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                              To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                              Yes.

                              J 1 Reply Last reply 13 Nov 2018, 05:43
                              0
                              • A Annabelle
                                12 Nov 2018, 13:27

                                @JKSH said in Qt Programming Language:

                                @Annabelle said in Qt Programming Language:

                                Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                                After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                                That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                                To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                                Yes.

                                J Offline
                                J Offline
                                JKSH
                                Moderators
                                wrote on 13 Nov 2018, 05:43 last edited by
                                #253

                                @Annabelle said in Qt Programming Language:

                                @JKSH said in Qt Programming Language:

                                @Annabelle said in Qt Programming Language:

                                Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                                After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                                That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                                To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                                Yes.

                                Hmm, that is strange. However, without access to your PC, it's hard to tell what's wrong.

                                In any case, don't let yourself be hindered by little issues like this. Be proactive, and keep working your way through the tutorials.

                                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                A 1 Reply Last reply 14 Nov 2018, 21:42
                                0
                                • J JKSH
                                  13 Nov 2018, 05:43

                                  @Annabelle said in Qt Programming Language:

                                  @JKSH said in Qt Programming Language:

                                  @Annabelle said in Qt Programming Language:

                                  Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                                  After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                                  That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                                  To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                                  Yes.

                                  Hmm, that is strange. However, without access to your PC, it's hard to tell what's wrong.

                                  In any case, don't let yourself be hindered by little issues like this. Be proactive, and keep working your way through the tutorials.

                                  A Offline
                                  A Offline
                                  Annabelle
                                  wrote on 14 Nov 2018, 21:42 last edited by
                                  #254

                                  @JKSH said in Qt Programming Language:

                                  @Annabelle said in Qt Programming Language:

                                  @JKSH said in Qt Programming Language:

                                  @Annabelle said in Qt Programming Language:

                                  Try to get your updated code to affect what's shown in the Command Prompt without making a separate project. If you are able to do this, you will save yourself lots of time in future exercises or projects.

                                  After you edit the code in your original project, remember to save your changes, then rebuild and re-run your program.

                                  That's what I did originally, and unfortunately the resulting text in the command prompt didn't change, it still said "Hello World!".

                                  To clarify: Did you close the original Command Prompt window before editing, saving, rebuilding, and rerunning your program?

                                  Yes.

                                  Hmm, that is strange. However, without access to your PC, it's hard to tell what's wrong.

                                  In any case, don't let yourself be hindered by little issues like this. Be proactive, and keep working your way through the tutorials.

                                  I have Teamviewer, if you'd like to access it that way. Would you want my phone number for that method?

                                  1 Reply Last reply
                                  0
                                  • A Annabelle
                                    10 Nov 2018, 13:02

                                    @JKSH said in Qt Programming Language:

                                    @Annabelle said in Qt Programming Language:

                                    Would I put "Hi Annabelle!", in the spot of code where it would usually say "Hello World"? I'm confused!

                                    Be adventurous and give it a try!

                                    I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                    J Offline
                                    J Offline
                                    JonB
                                    wrote on 15 Nov 2018, 09:11 last edited by
                                    #255

                                    @Annabelle said in Qt Programming Language:

                                    I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                    Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                    Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                    A 1 Reply Last reply 18 Nov 2018, 19:06
                                    0
                                    • J JonB
                                      15 Nov 2018, 09:11

                                      @Annabelle said in Qt Programming Language:

                                      I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                      Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                      Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                      A Offline
                                      A Offline
                                      Annabelle
                                      wrote on 18 Nov 2018, 19:06 last edited by
                                      #256

                                      @JonB said in Qt Programming Language:

                                      @Annabelle said in Qt Programming Language:

                                      I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                      Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                      Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                      @JonB said in Qt Programming Language:

                                      @Annabelle said in Qt Programming Language:

                                      I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                      Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                      Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                      Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?

                                      J 1 Reply Last reply 18 Nov 2018, 23:50
                                      0
                                      • A Annabelle
                                        18 Nov 2018, 19:06

                                        @JonB said in Qt Programming Language:

                                        @Annabelle said in Qt Programming Language:

                                        I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                        Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                        Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                        @JonB said in Qt Programming Language:

                                        @Annabelle said in Qt Programming Language:

                                        I ended up having to make a separate project, as when I put "Hi Annabelle!" and "Bye now." into the original project, it still displayed "Hello World!" in the resulting Command Prompt.

                                        Annabelle, if you think about this logically that cannot be the right approach. You don't/must not have to create a new project in order to alter something like the output from a piece of code you have already written.

                                        Why don't you go back now to the original project and have a stab at making the edits again? If that still produces the wrong output as you said, paste the code and we'll have a look at it.

                                        Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?

                                        J Offline
                                        J Offline
                                        JKSH
                                        Moderators
                                        wrote on 18 Nov 2018, 23:50 last edited by
                                        #257

                                        @Annabelle said in Qt Programming Language:

                                        Would you want my phone number for that method?

                                        For your own security, please don't post your phone number or home address publicly.

                                        @Annabelle said in Qt Programming Language:

                                        Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?

                                        Have a closer look at the message. It says "Please sign in to your account" (which tells you what to do next); it doesn't ask for payment.

                                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                        A 1 Reply Last reply 19 Nov 2018, 02:33
                                        1
                                        • J JKSH
                                          18 Nov 2018, 23:50

                                          @Annabelle said in Qt Programming Language:

                                          Would you want my phone number for that method?

                                          For your own security, please don't post your phone number or home address publicly.

                                          @Annabelle said in Qt Programming Language:

                                          Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?

                                          Have a closer look at the message. It says "Please sign in to your account" (which tells you what to do next); it doesn't ask for payment.

                                          A Offline
                                          A Offline
                                          Annabelle
                                          wrote on 19 Nov 2018, 02:33 last edited by
                                          #258

                                          @JKSH said in Qt Programming Language:

                                          @Annabelle said in Qt Programming Language:

                                          Would you want my phone number for that method?

                                          For your own security, please don't post your phone number or home address publicly.

                                          @Annabelle said in Qt Programming Language:

                                          Now my copy of Visual Studio has this message upon opening. "Your evaluation period has ended. Please sign in to your account to unlock the product." This seems rather strange, since I believe that Visual Studio Community is free. What do I do next?

                                          Have a closer look at the message. It says "Please sign in to your account" (which tells you what to do next); it doesn't ask for payment.

                                          I've tried signing in, but now my account has been temporarily suspended, even though I'm the only one who has signed into this account. When I said that I forgot my password, that somehow led to my account being suspended. What do I do now?

                                          J 1 Reply Last reply 19 Nov 2018, 02:36
                                          0

                                          248/331

                                          10 Nov 2018, 13:02

                                          • Login

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