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 306.0k 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

    @kenchan said in Qt Programming Language:

    @Annabelle said in Qt Programming Language:

    https://visualstudio.microsoft.com/vs/older-downloads/

    if you look lower down the page there is a link for downloading the 2015 version too.

    I can't find it. My screenreader shows a link that says "Free Download", but it's the 2017 version.

    K Offline
    K Offline
    kenchan
    wrote on last edited by
    #196

    @Annabelle
    Well I don't know what it looks like in a screen reader but there is a link called 'Expand All' when that is expanded there is a button to click for downloading.

    It will ask you for your Microsoft login details. You have to be a member of the Visual Studio Subscription site, you can sign up for free and get the free stuff after that.
    I think they are only giving access to old stuff through this site.

    A 1 Reply Last reply
    3
    • K kenchan

      @Annabelle
      Well I don't know what it looks like in a screen reader but there is a link called 'Expand All' when that is expanded there is a button to click for downloading.

      It will ask you for your Microsoft login details. You have to be a member of the Visual Studio Subscription site, you can sign up for free and get the free stuff after that.
      I think they are only giving access to old stuff through this site.

      A Offline
      A Offline
      Annabelle
      wrote on last edited by
      #197

      @kenchan said in Qt Programming Language:

      @Annabelle
      Well I don't know what it looks like in a screen reader but there is a link called 'Expand All' when that is expanded there is a button to click for downloading.

      It will ask you for your Microsoft login details. You have to be a member of the Visual Studio Subscription site, you can sign up for free and get the free stuff after that.
      I think they are only giving access to old stuff through this site.

      I did that, but still nothing.

      JonBJ 1 Reply Last reply
      0
      • A Annabelle

        @kenchan said in Qt Programming Language:

        @Annabelle
        Well I don't know what it looks like in a screen reader but there is a link called 'Expand All' when that is expanded there is a button to click for downloading.

        It will ask you for your Microsoft login details. You have to be a member of the Visual Studio Subscription site, you can sign up for free and get the free stuff after that.
        I think they are only giving access to old stuff through this site.

        I did that, but still nothing.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #198

        @Annabelle
        Hi. We cannot say about screen-reader access, but I think the direct link for the VS2015 download is

        https://my.visualstudio.com/Downloads?q=visual studio 2015&wt.mc_id=o~msft~vscom~older-downloads

        It will still make you log into your MS account to access it, but hopefully that route will work for you.

        A 1 Reply Last reply
        1
        • JonBJ JonB

          @Annabelle
          Hi. We cannot say about screen-reader access, but I think the direct link for the VS2015 download is

          https://my.visualstudio.com/Downloads?q=visual studio 2015&wt.mc_id=o~msft~vscom~older-downloads

          It will still make you log into your MS account to access it, but hopefully that route will work for you.

          A Offline
          A Offline
          Annabelle
          wrote on last edited by
          #199

          @JonB said in Qt Programming Language:

          @Annabelle
          Hi. We cannot say about screen-reader access, but I think the direct link for the VS2015 download is

          https://my.visualstudio.com/Downloads?q=visual studio 2015&wt.mc_id=o~msft~vscom~older-downloads

          It will still make you log into your MS account to access it, but hopefully that route will work for you.

          Now that I've got Visual Studio Community 2015 installed, what do I do next?

          JKSHJ 1 Reply Last reply
          0
          • A Annabelle

            @JonB said in Qt Programming Language:

            @Annabelle
            Hi. We cannot say about screen-reader access, but I think the direct link for the VS2015 download is

            https://my.visualstudio.com/Downloads?q=visual studio 2015&wt.mc_id=o~msft~vscom~older-downloads

            It will still make you log into your MS account to access it, but hopefully that route will work for you.

            Now that I've got Visual Studio Community 2015 installed, what do I do next?

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #200

            @Annabelle said in Qt Programming Language:

            Now that I've got Visual Studio Community 2015 installed, what do I do next?

            Great! Just to double-check: During installation, did you select the option for C++ development?

            Your next step is to start making your way through the tutorials, starting from Chapter 0. Sections 0.1 to 0.5 provide introductory knowledge; section 0.6 "Installing an Integrated Development Environment" talks about installing Visual Studio (which you have already done); section 0.7 "Compiling your first program" is where the really important stuff begins. Make sure you follow the instructions carefully!

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

            A 1 Reply Last reply
            1
            • JKSHJ JKSH

              @Annabelle said in Qt Programming Language:

              Now that I've got Visual Studio Community 2015 installed, what do I do next?

              Great! Just to double-check: During installation, did you select the option for C++ development?

              Your next step is to start making your way through the tutorials, starting from Chapter 0. Sections 0.1 to 0.5 provide introductory knowledge; section 0.6 "Installing an Integrated Development Environment" talks about installing Visual Studio (which you have already done); section 0.7 "Compiling your first program" is where the really important stuff begins. Make sure you follow the instructions carefully!

              A Offline
              A Offline
              Annabelle
              wrote on last edited by Annabelle
              #201

              @JKSH said in Qt Programming Language:

              @Annabelle said in Qt Programming Language:

              Now that I've got Visual Studio Community 2015 installed, what do I do next?

              Great! Just to double-check: During installation, did you select the option for C++ development?

              Your next step is to start making your way through the tutorials, starting from Chapter 0. Sections 0.1 to 0.5 provide introductory knowledge; section 0.6 "Installing an Integrated Development Environment" talks about installing Visual Studio (which you have already done); section 0.7 "Compiling your first program" is where the really important stuff begins. Make sure you follow the instructions carefully!

              It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean? Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community? If not, is there a way to safely uninstall them without taking away from Visual Studio Community? Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

              JKSHJ 1 Reply Last reply
              0
              • A Annabelle

                @JKSH said in Qt Programming Language:

                @Annabelle said in Qt Programming Language:

                Now that I've got Visual Studio Community 2015 installed, what do I do next?

                Great! Just to double-check: During installation, did you select the option for C++ development?

                Your next step is to start making your way through the tutorials, starting from Chapter 0. Sections 0.1 to 0.5 provide introductory knowledge; section 0.6 "Installing an Integrated Development Environment" talks about installing Visual Studio (which you have already done); section 0.7 "Compiling your first program" is where the really important stuff begins. Make sure you follow the instructions carefully!

                It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean? Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community? If not, is there a way to safely uninstall them without taking away from Visual Studio Community? Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #202

                Sorry for the late reply.

                @Annabelle said in Qt Programming Language:

                It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean?

                Yes, that's the one I meant. Install "Visual C++" so that you can build C++ programs.

                Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community?

                Microsoft Silverlight is a technology to create rich interactive websites, similar to Adobe Flash. However, both Silverlight and Flash have fallen out of favour these days.

                Microsoft Expression is a program to edit HTML documents.

                Neither component is necessary to run Visual Studio Community.

                If not, is there a way to safely uninstall them without taking away from Visual Studio Community?

                If you click the "Modify" button again, are you able to uncheck the checkboxes for Silverlight and Expression?

                Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

                I'm not sure. None of the Visual Studio components run at startup so they shouldn't have any impact on startup time.

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

                A 1 Reply Last reply
                1
                • JKSHJ JKSH

                  Sorry for the late reply.

                  @Annabelle said in Qt Programming Language:

                  It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean?

                  Yes, that's the one I meant. Install "Visual C++" so that you can build C++ programs.

                  Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community?

                  Microsoft Silverlight is a technology to create rich interactive websites, similar to Adobe Flash. However, both Silverlight and Flash have fallen out of favour these days.

                  Microsoft Expression is a program to edit HTML documents.

                  Neither component is necessary to run Visual Studio Community.

                  If not, is there a way to safely uninstall them without taking away from Visual Studio Community?

                  If you click the "Modify" button again, are you able to uncheck the checkboxes for Silverlight and Expression?

                  Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

                  I'm not sure. None of the Visual Studio components run at startup so they shouldn't have any impact on startup time.

                  A Offline
                  A Offline
                  Annabelle
                  wrote on last edited by
                  #203

                  @JKSH said in Qt Programming Language:

                  Sorry for the late reply.

                  @Annabelle said in Qt Programming Language:

                  It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean?

                  Yes, that's the one I meant. Install "Visual C++" so that you can build C++ programs.

                  Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community?

                  Microsoft Silverlight is a technology to create rich interactive websites, similar to Adobe Flash. However, both Silverlight and Flash have fallen out of favour these days.

                  Microsoft Expression is a program to edit HTML documents.

                  Neither component is necessary to run Visual Studio Community.

                  If not, is there a way to safely uninstall them without taking away from Visual Studio Community?

                  If you click the "Modify" button again, are you able to uncheck the checkboxes for Silverlight and Expression?

                  Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

                  I'm not sure. None of the Visual Studio components run at startup so they shouldn't have any impact on startup time.

                  Now that I've installed the Visual C++ programming language component, what do I do next?

                  JKSHJ 1 Reply Last reply
                  0
                  • A Annabelle

                    @JKSH said in Qt Programming Language:

                    Sorry for the late reply.

                    @Annabelle said in Qt Programming Language:

                    It didn't give me that option in the initial installation. I had to run it again and press Enter on the "Modify" button, and then check the checkboxes next to the appropriate options for programming language components. The one I couldn't find was "C++ Development". I did, however, find "Visual C++". Is that the one you mean?

                    Yes, that's the one I meant. Install "Visual C++" so that you can build C++ programs.

                    Also, it installed, in addition to Visual Studio 2015, two programs with which I'm not familiar. Microsoft Silverlight, and Microsoft Expression. What do these programs do? Are they necessary components for running Visual Studio Community?

                    Microsoft Silverlight is a technology to create rich interactive websites, similar to Adobe Flash. However, both Silverlight and Flash have fallen out of favour these days.

                    Microsoft Expression is a program to edit HTML documents.

                    Neither component is necessary to run Visual Studio Community.

                    If not, is there a way to safely uninstall them without taking away from Visual Studio Community?

                    If you click the "Modify" button again, are you able to uncheck the checkboxes for Silverlight and Expression?

                    Also, this new installation has caused my machine to take a little more time between the Windows Logon screen and JAWS starting up. What's up with that, I wonder?

                    I'm not sure. None of the Visual Studio components run at startup so they shouldn't have any impact on startup time.

                    Now that I've installed the Visual C++ programming language component, what do I do next?

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #204

                    @Annabelle said in Qt Programming Language:

                    Now that I've installed the Visual C++ programming language component, what do I do next?

                    The next thing to do is to follow the tutorial and learn C++.

                    Just to double-check: Are you willing to spend time and effort to learn programming? It will take you at least a few weeks to learn the basics of C++. After that, it will take you at least a few months to learn the various features you need and to produce the program that you've been describing.

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

                    A 1 Reply Last reply
                    0
                    • JKSHJ JKSH

                      @Annabelle said in Qt Programming Language:

                      Now that I've installed the Visual C++ programming language component, what do I do next?

                      The next thing to do is to follow the tutorial and learn C++.

                      Just to double-check: Are you willing to spend time and effort to learn programming? It will take you at least a few weeks to learn the basics of C++. After that, it will take you at least a few months to learn the various features you need and to produce the program that you've been describing.

                      A Offline
                      A Offline
                      Annabelle
                      wrote on last edited by
                      #205

                      @JKSH said in Qt Programming Language:

                      @Annabelle said in Qt Programming Language:

                      Now that I've installed the Visual C++ programming language component, what do I do next?

                      The next thing to do is to follow the tutorial and learn C++.

                      Just to double-check: Are you willing to spend time and effort to learn programming? It will take you at least a few weeks to learn the basics of C++. After that, it will take you at least a few months to learn the various features you need and to produce the program that you've been describing.

                      You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                      JKSHJ 1 Reply Last reply
                      0
                      • A Annabelle

                        @JKSH said in Qt Programming Language:

                        @Annabelle said in Qt Programming Language:

                        Now that I've installed the Visual C++ programming language component, what do I do next?

                        The next thing to do is to follow the tutorial and learn C++.

                        Just to double-check: Are you willing to spend time and effort to learn programming? It will take you at least a few weeks to learn the basics of C++. After that, it will take you at least a few months to learn the various features you need and to produce the program that you've been describing.

                        You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                        JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #206

                        @Annabelle said in Qt Programming Language:

                        You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                        That's great! It is refreshing to see your enthusiasm for learning.

                        Concepts like variables and "if" statements are part of basic C++, so I think you should cover those within a few weeks. I would say string manipulation is intermediate-level. Let me know when you've finished learning the basics, and I'll be happy to teach you more about string manipulation.

                        GUIs, accessibility features, and building the applications are much more advanced -- these will take you a few months (at least) to understand.

                        Anyway, all the best with learning C++ through learncpp.com. As I mentioned before, 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.

                        Feel free to ask here if something is unclear in the tutorial.

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

                        A 1 Reply Last reply
                        0
                        • JKSHJ JKSH

                          @Annabelle said in Qt Programming Language:

                          You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                          That's great! It is refreshing to see your enthusiasm for learning.

                          Concepts like variables and "if" statements are part of basic C++, so I think you should cover those within a few weeks. I would say string manipulation is intermediate-level. Let me know when you've finished learning the basics, and I'll be happy to teach you more about string manipulation.

                          GUIs, accessibility features, and building the applications are much more advanced -- these will take you a few months (at least) to understand.

                          Anyway, all the best with learning C++ through learncpp.com. As I mentioned before, 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.

                          Feel free to ask here if something is unclear in the tutorial.

                          A Offline
                          A Offline
                          Annabelle
                          wrote on last edited by
                          #207

                          @JKSH said in Qt Programming Language:

                          @Annabelle said in Qt Programming Language:

                          You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                          That's great! It is refreshing to see your enthusiasm for learning.

                          Concepts like variables and "if" statements are part of basic C++, so I think you should cover those within a few weeks. I would say string manipulation is intermediate-level. Let me know when you've finished learning the basics, and I'll be happy to teach you more about string manipulation.

                          GUIs, accessibility features, and building the applications are much more advanced -- these will take you a few months (at least) to understand.

                          Anyway, all the best with learning C++ through learncpp.com. As I mentioned before, 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.

                          Feel free to ask here if something is unclear in the tutorial.

                          I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation. Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                          JKSHJ 1 Reply Last reply
                          0
                          • A Annabelle

                            @JKSH said in Qt Programming Language:

                            @Annabelle said in Qt Programming Language:

                            You ask if I'm willing to spend time and effort learning programming? The answer to that is a resounding "Yes!" I'm willing to learn anything, as long as I can take it one step at a time, and as long as there aren't too many graphics for my screenreader to have to jump over. So a few weeks to learn the basics, and a few months to learn the concepts you mention as far as "if" statements, variables, and string manipulation goes?

                            That's great! It is refreshing to see your enthusiasm for learning.

                            Concepts like variables and "if" statements are part of basic C++, so I think you should cover those within a few weeks. I would say string manipulation is intermediate-level. Let me know when you've finished learning the basics, and I'll be happy to teach you more about string manipulation.

                            GUIs, accessibility features, and building the applications are much more advanced -- these will take you a few months (at least) to understand.

                            Anyway, all the best with learning C++ through learncpp.com. As I mentioned before, 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.

                            Feel free to ask here if something is unclear in the tutorial.

                            I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation. Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                            JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #208

                            @Annabelle said in Qt Programming Language:

                            I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation.

                            Before you can use Qt in Visual Studio, you need to perform some additional setup. For now, let's skip all this complexity. Just follow the tutorial without using Qt for now.

                            Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                            A "Hello World" program is just a very simple program to help programmers to start using a new language or library. These are not unique; there are many variants of C++ "Hello Worlds" and many variants of Qt "Hello Worlds".

                            • A C++ "Hello World" program introduces the programmer to the C++ language.
                            • A Qt "Hello World" program introduces the programmer to the Qt library.

                            cout stands for "character output". It is a place where your program can display some text.

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

                            A 1 Reply Last reply
                            2
                            • JKSHJ JKSH

                              @Annabelle said in Qt Programming Language:

                              I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation.

                              Before you can use Qt in Visual Studio, you need to perform some additional setup. For now, let's skip all this complexity. Just follow the tutorial without using Qt for now.

                              Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                              A "Hello World" program is just a very simple program to help programmers to start using a new language or library. These are not unique; there are many variants of C++ "Hello Worlds" and many variants of Qt "Hello Worlds".

                              • A C++ "Hello World" program introduces the programmer to the C++ language.
                              • A Qt "Hello World" program introduces the programmer to the Qt library.

                              cout stands for "character output". It is a place where your program can display some text.

                              A Offline
                              A Offline
                              Annabelle
                              wrote on last edited by
                              #209

                              @JKSH said in Qt Programming Language:

                              @Annabelle said in Qt Programming Language:

                              I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation.

                              Before you can use Qt in Visual Studio, you need to perform some additional setup. For now, let's skip all this complexity. Just follow the tutorial without using Qt for now.

                              Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                              A "Hello World" program is just a very simple program to help programmers to start using a new language or library. These are not unique; there are many variants of C++ "Hello Worlds" and many variants of Qt "Hello Worlds".

                              • A C++ "Hello World" program introduces the programmer to the C++ language.
                              • A Qt "Hello World" program introduces the programmer to the Qt library.

                              cout stands for "character output". It is a place where your program can display some text.

                              If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                              JKSHJ 1 Reply Last reply
                              0
                              • A Annabelle

                                @JKSH said in Qt Programming Language:

                                @Annabelle said in Qt Programming Language:

                                I tried compiling a Qt version of "Hello World" in Visual Studio, but it said there were a bunch of errors, despite the fact that I copied and pasted the code into a text document from the Qt Documentation.

                                Before you can use Qt in Visual Studio, you need to perform some additional setup. For now, let's skip all this complexity. Just follow the tutorial without using Qt for now.

                                Then I pasted that code into Visual Studio's "Text Editor". On http://www.learncpp.com, there's a different way of printing the "Hello World" project, where the code has something called "cout", which I don't understand. What's the difference between these two codes? That is, the Qt code of "Hello World", and the C++ code of "Hello World"? I'm confused on this one!

                                A "Hello World" program is just a very simple program to help programmers to start using a new language or library. These are not unique; there are many variants of C++ "Hello Worlds" and many variants of Qt "Hello Worlds".

                                • A C++ "Hello World" program introduces the programmer to the C++ language.
                                • A Qt "Hello World" program introduces the programmer to the Qt library.

                                cout stands for "character output". It is a place where your program can display some text.

                                If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                                JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #210

                                @Annabelle said in Qt Programming Language:

                                If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                                Could you please describe what you were doing up to the moment where focus is lost?

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

                                A 1 Reply Last reply
                                0
                                • JKSHJ JKSH

                                  @Annabelle said in Qt Programming Language:

                                  If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                                  Could you please describe what you were doing up to the moment where focus is lost?

                                  A Offline
                                  A Offline
                                  Annabelle
                                  wrote on last edited by
                                  #211

                                  @JKSH said in Qt Programming Language:

                                  @Annabelle said in Qt Programming Language:

                                  If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                                  Could you please describe what you were doing up to the moment where focus is lost?

                                  I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                  JKSHJ 1 Reply Last reply
                                  0
                                  • A Annabelle

                                    @JKSH said in Qt Programming Language:

                                    @Annabelle said in Qt Programming Language:

                                    If I lose focus with the text editor in Visual Studio while performing the examples in the tutorial, is there a keyboard shortcut for me to put it in focus again?

                                    Could you please describe what you were doing up to the moment where focus is lost?

                                    I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                    JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #212

                                    @Annabelle said in Qt Programming Language:

                                    I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                    Could it be that the screenreader was silent because there was no text inside the editor? What happens when you try to paste the newly-copied code?

                                    Also, try using Ctrl+Tab to cycle between sub-windows inside Visual Studio.

                                    One final word of advise: Please don't wait for me (or anyone else) to reply before you take action. Take the initiative to try different things (and search on Google) to see if you can solve the problem before someone replies.

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

                                    A 1 Reply Last reply
                                    0
                                    • JKSHJ JKSH

                                      @Annabelle said in Qt Programming Language:

                                      I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                      Could it be that the screenreader was silent because there was no text inside the editor? What happens when you try to paste the newly-copied code?

                                      Also, try using Ctrl+Tab to cycle between sub-windows inside Visual Studio.

                                      One final word of advise: Please don't wait for me (or anyone else) to reply before you take action. Take the initiative to try different things (and search on Google) to see if you can solve the problem before someone replies.

                                      A Offline
                                      A Offline
                                      Annabelle
                                      wrote on last edited by
                                      #213

                                      @JKSH said in Qt Programming Language:

                                      @Annabelle said in Qt Programming Language:

                                      I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                      Could it be that the screenreader was silent because there was no text inside the editor? What happens when you try to paste the newly-copied code?

                                      Also, try using Ctrl+Tab to cycle between sub-windows inside Visual Studio.

                                      One final word of advise: Please don't wait for me (or anyone else) to reply before you take action. Take the initiative to try different things (and search on Google) to see if you can solve the problem before someone replies.

                                      I'm not sure why this didn't work, but I pasted the Hello World code in the text editor window, then when building the project, there were some errors. Even though I pasted the code without any changes.
                                      0_1540994545531_8d93dc3f-313e-41be-a836-59bb363386f9-image.png

                                      JonBJ 1 Reply Last reply
                                      0
                                      • A Annabelle

                                        @JKSH said in Qt Programming Language:

                                        @Annabelle said in Qt Programming Language:

                                        I created a new project, which took me to the editor where there was some example text, then I deleted what was there. Next, I went to the tutorial where the "Hello World" code was, and I copied the code to the clipboard. When I pressed Alt+Tab to return to the text editor in Visual Studio to paste the newly-copied code, my screenreader didn't show it (the text editor), just a blank screen.

                                        Could it be that the screenreader was silent because there was no text inside the editor? What happens when you try to paste the newly-copied code?

                                        Also, try using Ctrl+Tab to cycle between sub-windows inside Visual Studio.

                                        One final word of advise: Please don't wait for me (or anyone else) to reply before you take action. Take the initiative to try different things (and search on Google) to see if you can solve the problem before someone replies.

                                        I'm not sure why this didn't work, but I pasted the Hello World code in the text editor window, then when building the project, there were some errors. Even though I pasted the code without any changes.
                                        0_1540994545531_8d93dc3f-313e-41be-a836-59bb363386f9-image.png

                                        JonBJ Offline
                                        JonBJ Offline
                                        JonB
                                        wrote on last edited by JonB
                                        #214

                                        @Annabelle
                                        [EDIT: I have scrapped my suggestions here, read @mrjj's post below. He is right because of the error message number. You are using a .cs file extension and compiling your code as C# instead of C++ in Visual Studio. Change your filename extension to .cpp. You need to create a completely different kind of project in Visual Studio, it must be something like a "C++ project" and not a "CSharp project".]

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

                                          Hi
                                          Im wondering about the file extension.
                                          Its .cs which would indicate a c sharp program
                                          and not a c++ one ?
                                          Maybe a wrong template was used to create it ?

                                          JKSHJ 1 Reply Last reply
                                          4

                                          • Login

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