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 Tools and Versions & MSVC 2019
Forum Updated to NodeBB v4.3 + New Features

Qt Tools and Versions & MSVC 2019

Scheduled Pinned Locked Moved Unsolved General and Desktop
39 Posts 9 Posters 58.7k Views 2 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.
  • Pradeep P NP Pradeep P N

    Hi @JKSH ,

    Jup, I want to use VS IDE to build Qt.
    I did try "Qt GUI Application" by selection default modules

    • Core,
    • GUI,
    • Widgets,

    0_1561347512066_e8d8c864-97ca-4c42-9b97-2cf0a89b52e7-image.png

    And on "Next" i get
    0_1561347564399_bc368894-4dd5-4e86-a848-1059685bd1c4-image.png

    How to set the Object Reference ?

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #28

    @Pradeep-P-N Why did you install Qt 5.9.2 and not the latest stable version (5.12.3)? I'm not sure that old version is going to work with latest Visual Studio.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    J.HilkJ Pradeep P NP 2 Replies Last reply
    3
    • Pradeep P NP Pradeep P N

      Hi @JKSH ,

      Jup, I want to use VS IDE to build Qt.
      I did try "Qt GUI Application" by selection default modules

      • Core,
      • GUI,
      • Widgets,

      0_1561347512066_e8d8c864-97ca-4c42-9b97-2cf0a89b52e7-image.png

      And on "Next" i get
      0_1561347564399_bc368894-4dd5-4e86-a848-1059685bd1c4-image.png

      How to set the Object Reference ?

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

      @Pradeep-P-N said in Qt Tools and Versions & MSVC 2019:

      How to set the Object Reference ?

      That is not a configuration problem.

      That is a .NET programming error. It means something is trying to deference a null object: https://stackoverflow.com/questions/4660142/what-is-a-nullreferenceexception-and-how-do-i-fix-it

      Unfortunately, it doesn't look like there's an easy way to find out where that error occurs.

      If you have a spare PC, I suggest you install the latest Visual Studio, install the latest Qt VS Tools, and install the latest Qt on it. Then see if it works.

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

      1 Reply Last reply
      3
      • jsulmJ jsulm

        @Pradeep-P-N Why did you install Qt 5.9.2 and not the latest stable version (5.12.3)? I'm not sure that old version is going to work with latest Visual Studio.

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #30

        @jsulm since about a week, the latest LTE version is 5.12.4 just fyi
        ;-)


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        1
        • jsulmJ jsulm

          @Pradeep-P-N Why did you install Qt 5.9.2 and not the latest stable version (5.12.3)? I'm not sure that old version is going to work with latest Visual Studio.

          Pradeep P NP Offline
          Pradeep P NP Offline
          Pradeep P N
          wrote on last edited by Pradeep P N
          #31

          Hi @jsulm thank you.
          I was just trying. Yes i agree that version compatibility issues may come.
          But my intention was to find the solution, so that it might help some one else also who can try with old Versions of Qt.

          Pradeep Nimbalkar.
          Upvote the answer(s) that helped you to solve the issue...
          Keep code clean.

          JKSHJ 1 Reply Last reply
          2
          • Pradeep P NP Offline
            Pradeep P NP Offline
            Pradeep P N
            wrote on last edited by
            #32

            @JKSH , @J-Hilk

            Thank you for the support.
            Sure i will check with the suggestions provided above.

            Pradeep Nimbalkar.
            Upvote the answer(s) that helped you to solve the issue...
            Keep code clean.

            Cobra91151C 1 Reply Last reply
            1
            • Pradeep P NP Pradeep P N

              Hi @jsulm thank you.
              I was just trying. Yes i agree that version compatibility issues may come.
              But my intention was to find the solution, so that it might help some one else also who can try with old Versions of Qt.

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

              @Pradeep-P-N said in Qt Tools and Versions & MSVC 2019:

              my intention was to find the solution, so that it might help some one else also who can try with old Versions of Qt.

              Right now, you are experiencing lots of issues. We can't tell whether the issues are being caused by version incompatibilities or not.

              I recommend you try to get it working with the latest versions first. After that, you can spend time trying to make it work with older versions.

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

              1 Reply Last reply
              1
              • Pradeep P NP Pradeep P N

                @JKSH , @J-Hilk

                Thank you for the support.
                Sure i will check with the suggestions provided above.

                Cobra91151C Offline
                Cobra91151C Offline
                Cobra91151
                wrote on last edited by
                #34

                @Pradeep-P-N

                Hello! Also please note about this issue with Qt and MSVC2019: https://bugreports.qt.io/browse/QTBUG-75280
                It is still not fixed yet. For now it is better to use Qt with MSVC2017.

                Pradeep P NP 1 Reply Last reply
                4
                • Cobra91151C Cobra91151

                  @Pradeep-P-N

                  Hello! Also please note about this issue with Qt and MSVC2019: https://bugreports.qt.io/browse/QTBUG-75280
                  It is still not fixed yet. For now it is better to use Qt with MSVC2017.

                  Pradeep P NP Offline
                  Pradeep P NP Offline
                  Pradeep P N
                  wrote on last edited by
                  #35

                  @Cobra91151
                  Thanks.
                  Jup, shifted to MSVC 2017.

                  Pradeep Nimbalkar.
                  Upvote the answer(s) that helped you to solve the issue...
                  Keep code clean.

                  1 Reply Last reply
                  2
                  • JKSHJ JKSH

                    @Pradeep-P-N said in Qt Tools and Versions & MSVC 2019:

                    Qt don't have the Kit for MSVC 2019

                    MSVC 2019 is binary compatible with MSVC 2017.

                    So, you can configure the kit to use the Qt libary for MSVC 2017 together with your MSVC 2019 compiler.

                    V Offline
                    V Offline
                    volker
                    wrote on last edited by volker
                    #36

                    @JKSH Can you put this information (Qt msvc2017 is binary compatible with msvc2019 package) to a more prominent place on the Qt pages, e.g. the download section, to be visible for all people seeking the latest and greatest version of Qt for their compiler? I was looking for this kind of information at least 1 hour. Cheers, Volker

                    JKSHJ 1 Reply Last reply
                    2
                    • V volker

                      @JKSH Can you put this information (Qt msvc2017 is binary compatible with msvc2019 package) to a more prominent place on the Qt pages, e.g. the download section, to be visible for all people seeking the latest and greatest version of Qt for their compiler? I was looking for this kind of information at least 1 hour. Cheers, Volker

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

                      @volker said in Qt Tools and Versions & MSVC 2019:

                      Can you put this information (Qt msvc2017 is binary compatible with msvc2019 package) to a more prominent place on the Qt pages, e.g. the download section

                      I don't have access to the Qt website, sorry. Please submit your request to https://bugreports.qt.io (under "Qt Project Website")

                      The compatibility information comes from Microsoft directly: https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019

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

                      V 1 Reply Last reply
                      5
                      • JKSHJ JKSH

                        @volker said in Qt Tools and Versions & MSVC 2019:

                        Can you put this information (Qt msvc2017 is binary compatible with msvc2019 package) to a more prominent place on the Qt pages, e.g. the download section

                        I don't have access to the Qt website, sorry. Please submit your request to https://bugreports.qt.io (under "Qt Project Website")

                        The compatibility information comes from Microsoft directly: https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019

                        V Offline
                        V Offline
                        volker
                        wrote on last edited by
                        #38

                        @JKSH Ah, now I see. I must have missed that fact when downloading/installing MSVC2019. Will file a request to the bug reports. Cheers, Volker

                        V 1 Reply Last reply
                        1
                        • V volker

                          @JKSH Ah, now I see. I must have missed that fact when downloading/installing MSVC2019. Will file a request to the bug reports. Cheers, Volker

                          V Offline
                          V Offline
                          volker
                          wrote on last edited by
                          #39

                          @volker Done. Request can be found under following link

                          1 Reply Last reply
                          6

                          • Login

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