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
QtWS25 Last Chance

Qt Programming Language

Scheduled Pinned Locked Moved Unsolved General and Desktop
331 Posts 17 Posters 305.6k 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.
  • A Annabelle
    3 Nov 2018, 14:43

    @JonB said in Qt Programming Language:

    @Annabelle
    When you did the paste, this time you have accidentally actually copied the actual line numbers 1 to 6 onto lines 1 to 6. This is in addition to the line numbers which VS shows to the left of every line you write, and your screenreader probably reads out to you. Which means that prior to your #include at line 7 the first 6 lines are unacceptable. You need to delete, or change to blank lines, your first 6 lines.

    When you try to compile code, the very first error is highly significant. Once the compiler hits something erroneous, very often it does not do a great a job at "recovering" from the error such that it gives sensible errors (or not) for whatever follows. So you can end up with loads of "spurious" errors after the first one. Concentrate each time on fixing whatever the very first error reported is, then try compiling again and see where it gets you.

    Now, there is an important thing here in VS which I do not know whether you are aware of/your screenreader tells you about. When we look at the lines you have shown us in the screenshot above, we see the lines the compiler does not like having a "squiggly red underline" shown. For us we can immediately see those and know something is wrong. Does your screenreader tell you about these? In your current code, the very first line (numbered 1) has the actual text of the number 1 on it. Since that is wrong, VS squiggle-red-underlines that 1. It would be very helpful to you if your screenreader can make you aware of such lines, but perhaps it cannot? Also, I believe that if I hovered my mouse over a red-squiggle-underline VS would put up a "tooltip" giving me the error message for what is wrong: again, are you able to be informed about that?

    My screenreader can't tell if an underline has a color or is squigly. It can say _ (underline). Is that the mark you're talking about? I'm confused!

    J Offline
    J Offline
    JKSH
    Moderators
    wrote on 3 Nov 2018, 23:21 last edited by JKSH 11 Mar 2018, 23:21
    #225

    @Annabelle said in Qt Programming Language:

    My screenreader can't tell if an underline has a color or is squigly. It can say _ (underline). Is that the mark you're talking about?

    In your latest screenshot, there was a red squiggly line underneath "#include". Did your screenreader announce that? If not, don't worry -- the error is repeated under the Error List pane: "cannot open source Hello World! file "stdafx.h". Did your screenreader announce that?

    @Annabelle said in Qt Programming Language:

    Here's a screenshot of yet another error.

    Change <stdafx.h> to "stdafx.h". In other words, change the angular brackets to double quotation marks.

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

    A 1 Reply Last reply 4 Nov 2018, 01:43
    0
    • J JKSH
      3 Nov 2018, 23:21

      @Annabelle said in Qt Programming Language:

      My screenreader can't tell if an underline has a color or is squigly. It can say _ (underline). Is that the mark you're talking about?

      In your latest screenshot, there was a red squiggly line underneath "#include". Did your screenreader announce that? If not, don't worry -- the error is repeated under the Error List pane: "cannot open source Hello World! file "stdafx.h". Did your screenreader announce that?

      @Annabelle said in Qt Programming Language:

      Here's a screenshot of yet another error.

      Change <stdafx.h> to "stdafx.h". In other words, change the angular brackets to double quotation marks.

      A Offline
      A Offline
      Annabelle
      wrote on 4 Nov 2018, 01:43 last edited by
      #226

      @JKSH said in Qt Programming Language:

      @Annabelle said in Qt Programming Language:

      My screenreader can't tell if an underline has a color or is squigly. It can say _ (underline). Is that the mark you're talking about?

      In your latest screenshot, there was a red squiggly line underneath "#include". Did your screenreader announce that? If not, don't worry -- the error is repeated under the Error List pane: "cannot open source Hello World! file "stdafx.h". Did your screenreader announce that?

      @Annabelle said in Qt Programming Language:

      Here's a screenshot of yet another error.

      Change <stdafx.h> to "stdafx.h". In other words, change the angular brackets to double quotation marks.

      It seems that when I type #include "stdafx.h", the quotation marks, for some reason, are automatically changed to angular brackets (<>). How do I prevent that from happening?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Annabelle
        wrote on 5 Nov 2018, 01:02 last edited by
        #227

        How's this?

        0_1541379728064_097a0365-c849-4c61-a942-b48351b6e910-image.png

        J 1 Reply Last reply 6 Nov 2018, 08:20
        0
        • A Annabelle
          5 Nov 2018, 01:02

          How's this?

          0_1541379728064_097a0365-c849-4c61-a942-b48351b6e910-image.png

          J Online
          J Online
          JonB
          wrote on 6 Nov 2018, 08:20 last edited by JonB 11 Jun 2018, 08:20
          #228

          @Annabelle
          This looks fault-free, and seems to have run without error! I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

          A 1 Reply Last reply 6 Nov 2018, 08:48
          2
          • J JonB
            6 Nov 2018, 08:20

            @Annabelle
            This looks fault-free, and seems to have run without error! I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

            A Offline
            A Offline
            Annabelle
            wrote on 6 Nov 2018, 08:48 last edited by
            #229

            @JonB said in Qt Programming Language:

            @Annabelle
            This looks fault-free, and seems to have run without error! I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

            How do I do that, I wonder? After I make the "Hello World" program, what do I do next?

            J J 2 Replies Last reply 6 Nov 2018, 09:40
            0
            • A Annabelle
              6 Nov 2018, 08:48

              @JonB said in Qt Programming Language:

              @Annabelle
              This looks fault-free, and seems to have run without error! I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

              How do I do that, I wonder? After I make the "Hello World" program, what do I do next?

              J Online
              J Online
              JonB
              wrote on 6 Nov 2018, 09:40 last edited by
              #230

              @Annabelle
              Ignore my comment about the Debug tab, I think. The question is: when you run the program, it should output Hello world!, where does that output go to? Does it maybe open a console window, send it there, and then close it as soon as your program finishes, all of which would be near "instantaneous"? It may depend on your project type, I don't know. You may need hep on this from VS C++ people here....

              A 1 Reply Last reply 7 Nov 2018, 16:47
              0
              • A Annabelle
                6 Nov 2018, 08:48

                @JonB said in Qt Programming Language:

                @Annabelle
                This looks fault-free, and seems to have run without error! I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

                How do I do that, I wonder? After I make the "Hello World" program, what do I do next?

                J Offline
                J Offline
                JKSH
                Moderators
                wrote on 6 Nov 2018, 12:11 last edited by
                #231

                @Annabelle said in Qt Programming Language:

                @JonB said in Qt Programming Language:

                @Annabelle
                I don't know where the "Hello world" output went though? On that Output tab you have the Show output from combobox set to Debug, you may have to set that to something else to see/hear the program output?

                How do I do that, I wonder?

                When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.

                Did JAWS read the contents of that window to you?

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

                1 Reply Last reply
                2
                • J JonB
                  6 Nov 2018, 09:40

                  @Annabelle
                  Ignore my comment about the Debug tab, I think. The question is: when you run the program, it should output Hello world!, where does that output go to? Does it maybe open a console window, send it there, and then close it as soon as your program finishes, all of which would be near "instantaneous"? It may depend on your project type, I don't know. You may need hep on this from VS C++ people here....

                  A Offline
                  A Offline
                  Annabelle
                  wrote on 7 Nov 2018, 16:47 last edited by
                  #232

                  @JonB said in Qt Programming Language:

                  @Annabelle
                  Ignore my comment about the Debug tab, I think. The question is: when you run the program, it should output Hello world!, where does that output go to? Does it maybe open a console window, send it there, and then close it as soon as your program finishes, all of which would be near "instantaneous"? It may depend on your project type, I don't know. You may need hep on this from VS C++ people here....

                  This is what the output window looks like in a screenshot. 0_1541609206448_6d656a50-ae21-4c35-b9e3-89f42a2c7ce5-image.png
                  What is the meaning of this message?
                  "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                  J 1 Reply Last reply 7 Nov 2018, 18:47
                  0
                  • A Annabelle
                    7 Nov 2018, 16:47

                    @JonB said in Qt Programming Language:

                    @Annabelle
                    Ignore my comment about the Debug tab, I think. The question is: when you run the program, it should output Hello world!, where does that output go to? Does it maybe open a console window, send it there, and then close it as soon as your program finishes, all of which would be near "instantaneous"? It may depend on your project type, I don't know. You may need hep on this from VS C++ people here....

                    This is what the output window looks like in a screenshot. 0_1541609206448_6d656a50-ae21-4c35-b9e3-89f42a2c7ce5-image.png
                    What is the meaning of this message?
                    "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                    J Online
                    J Online
                    JonB
                    wrote on 7 Nov 2018, 18:47 last edited by JonB 11 Jul 2018, 18:49
                    #233

                    @Annabelle

                    "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                    It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                    My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                    When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                    Did JAWS read the contents of that window to you?

                    So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                    A 1 Reply Last reply 7 Nov 2018, 19:44
                    1
                    • J JonB
                      7 Nov 2018, 18:47

                      @Annabelle

                      "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                      It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                      My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                      When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                      Did JAWS read the contents of that window to you?

                      So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                      A Offline
                      A Offline
                      Annabelle
                      wrote on 7 Nov 2018, 19:44 last edited by
                      #234

                      @JonB said in Qt Programming Language:

                      @Annabelle

                      "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                      It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                      My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                      When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                      Did JAWS read the contents of that window to you?

                      So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                      @JonB said in Qt Programming Language:

                      @Annabelle

                      "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                      It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                      My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                      When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                      Did JAWS read the contents of that window to you?

                      So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                      @JonB said in Qt Programming Language:

                      @Annabelle

                      "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                      It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                      My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                      When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                      Did JAWS read the contents of that window to you?

                      So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                      I didn't hear about the output. When I pressed the shortcut to run the program, it first asked me if I wanted to build it, and I said "Yes". Then it launched the Command Prompt. What's up with that, I wonder?

                      J 1 Reply Last reply 7 Nov 2018, 20:07
                      0
                      • A Annabelle
                        7 Nov 2018, 19:44

                        @JonB said in Qt Programming Language:

                        @Annabelle

                        "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                        It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                        My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                        When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                        Did JAWS read the contents of that window to you?

                        So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                        @JonB said in Qt Programming Language:

                        @Annabelle

                        "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                        It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                        My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                        When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                        Did JAWS read the contents of that window to you?

                        So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                        @JonB said in Qt Programming Language:

                        @Annabelle

                        "The program '[2880] Hello World!.exe' has exited with code 0 (0x0)."

                        It's just Visual Studio letting you know good news! It's telling you that you just ran your program executable (Hello World!.exe), it ran to completion and exited, and it returned an "exit code" of 0 (which is good, is what your code does, but which you don't care about).

                        My question still remains, however. When that program ran it sent the string Hello World! to its "output" (that's the purpose of this program). Where did that "output" go? (I don't use Visual Studio, and with your project type, so I don't know. @JKSH said earlier:

                        When you run your program (Ctrl + F5), a window should pop up and that window should contain the words "Hello world!". The window will close if you press any key while the window has focus.
                        Did JAWS read the contents of that window to you?

                        So how does this behave for you? Did you get to hear about that output? Did you press a key to close a window which had opened?

                        I didn't hear about the output. When I pressed the shortcut to run the program, it first asked me if I wanted to build it, and I said "Yes". Then it launched the Command Prompt. What's up with that, I wonder?

                        J Online
                        J Online
                        JonB
                        wrote on 7 Nov 2018, 20:07 last edited by
                        #235

                        @Annabelle
                        You wrote:

                        Then it launched the Command Prompt.

                        It is probably in that Command Prompt window that I would expect the text of Hello World! to have been output. Is that possible?

                        A 1 Reply Last reply 7 Nov 2018, 21:07
                        0
                        • J JonB
                          7 Nov 2018, 20:07

                          @Annabelle
                          You wrote:

                          Then it launched the Command Prompt.

                          It is probably in that Command Prompt window that I would expect the text of Hello World! to have been output. Is that possible?

                          A Offline
                          A Offline
                          Annabelle
                          wrote on 7 Nov 2018, 21:07 last edited by
                          #236

                          @JonB said in Qt Programming Language:

                          @Annabelle
                          You wrote:

                          Then it launched the Command Prompt.

                          It is probably in that Command Prompt window that I would expect the text of Hello World! to have been output. Is that possible?

                          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.

                          J J 2 Replies Last reply 7 Nov 2018, 21:16
                          0
                          • A Annabelle
                            7 Nov 2018, 21:07

                            @JonB said in Qt Programming Language:

                            @Annabelle
                            You wrote:

                            Then it launched the Command Prompt.

                            It is probably in that Command Prompt window that I would expect the text of Hello World! to have been output. Is that possible?

                            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.

                            J Online
                            J Online
                            JonB
                            wrote on 7 Nov 2018, 21:16 last edited by
                            #237

                            @Annabelle
                            At this point, wait for somebody helpful to try just what you have in Visual Studio and explain what it is they see about where the output goes.

                            1 Reply Last reply
                            0
                            • A Annabelle
                              7 Nov 2018, 21:07

                              @JonB said in Qt Programming Language:

                              @Annabelle
                              You wrote:

                              Then it launched the Command Prompt.

                              It is probably in that Command Prompt window that I would expect the text of Hello World! to have been output. Is that possible?

                              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.

                              J Offline
                              J Offline
                              JKSH
                              Moderators
                              wrote on 8 Nov 2018, 03:44 last edited by
                              #238

                              @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?

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

                              A 1 Reply Last reply 8 Nov 2018, 15:04
                              1
                              • 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 Online
                                  J Online
                                  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 Online
                                      J Online
                                      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

                                          234/331

                                          7 Nov 2018, 19:44

                                          • Login

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