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 5.9.8 shared build with MSVC 2019 issue

Qt 5.9.8 shared build with MSVC 2019 issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 4 Posters 1.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.
  • Cobra91151C Offline
    Cobra91151C Offline
    Cobra91151
    wrote on last edited by Cobra91151
    #1

    Hi! I have compiled the Qt 5.9.8 shared with Visual Studio 2019. Now it compiles properly, but the issues with the code still exists:

    avatar problem

    And the button hover doesn't work. At first it was with the static build, but the same issue is present with shared also: https://bugreports.qt.io/browse/QTBUG-75280
    It seems that the problem is only with graphics when Qt 5.9.8 built with VS 2019, but I can't confirm it. Has anyone check it or any ideas how to fix it? Is it the problem with Qt or VS 2019? Thanks.

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

      Hi,

      You should provide a complete minimal compilable example project when you open a report. This will allow developer to replicate your issue more quickly and as close as possible as you are experiment it.

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

      Cobra91151C 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        You should provide a complete minimal compilable example project when you open a report. This will allow developer to replicate your issue more quickly and as close as possible as you are experiment it.

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

        @SGaist

        Ok. I'm working on it. I will upload it soon.

        1 Reply Last reply
        0
        • Cobra91151C Offline
          Cobra91151C Offline
          Cobra91151
          wrote on last edited by
          #4

          So, I have created the test example: TestHoverExample.zip. All source code and binaries are available in the .zip file.

          Image of the issue TestHoverExample Qt 5.9.8 (MSVC2017/MSVC2019):
          0_1559426056880_qt_vs2019_issue.gif

          Also I added this information to bug report here - https://bugreports.qt.io/browse/QTBUG-75280#!kcRxkYDL!WZcWCzrGER9oCkxwoy8YL-_-hbndraz_4xUXgaojpTY

          Thanks.

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            @Cobra91151 Does the issue exist when you build Qt 5.12.3 with MSVC 2019?

            Note: Qt 5.9.x will not be patched to add support for MSVC 2019.

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

            Cobra91151C 1 Reply Last reply
            0
            • JKSHJ JKSH

              @Cobra91151 Does the issue exist when you build Qt 5.12.3 with MSVC 2019?

              Note: Qt 5.9.x will not be patched to add support for MSVC 2019.

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

              @JKSH

              Hi! I can't check that because Qt 5.12.x does not support Win Vista. I only use Qt 5.9.x branch. But Qt 5.9.x branch got patched to build Qt WebEngine with VS2019. So, I think it might get this fix too. Also I think the problem is with ANGLE API (libEGL.dll, libGLESV2.dll).

              JKSHJ 1 Reply Last reply
              0
              • Cobra91151C Offline
                Cobra91151C Offline
                Cobra91151
                wrote on last edited by
                #7

                Also, after some checking, this issue only occurs in the Release mode.

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

                  Please upload that zip on your bug report. A link to some net storage may die at any point.

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

                  Cobra91151C 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Please upload that zip on your bug report. A link to some net storage may die at any point.

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

                    @SGaist

                    I tried but it limits me to 10 MB. I uploaded it to Mega it should stay as long as needed.

                    1 Reply Last reply
                    0
                    • Cobra91151C Cobra91151

                      @JKSH

                      Hi! I can't check that because Qt 5.12.x does not support Win Vista. I only use Qt 5.9.x branch. But Qt 5.9.x branch got patched to build Qt WebEngine with VS2019. So, I think it might get this fix too. Also I think the problem is with ANGLE API (libEGL.dll, libGLESV2.dll).

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

                      @Cobra91151 said in Qt 5.9.8 shared build with MSVC 2019 issue:

                      I can't check that because Qt 5.12.x does not support Win Vista.

                      Hmm? Your screenshot and bug report both use Windows 10. Can you use your Windows 10 machine to test?

                      But Qt 5.9.x branch got patched to build Qt WebEngine with VS2019.

                      Oh, I wasn't aware of this. Where did you see this patch?

                      But anyway, note that Qt WebEngine is security-critical. See this post: "Qt 5.9 LTS is currently in ‘Strict’ phase and receives only the selected important bug and security fixes, while Qt 5.12 LTS is currently receiving all the bug fixes."

                      An issue caused by a new compiler is not likely to be fixed in Qt 5.9, s because you can still use an old compiler. However, if you can show that the issue still exists in Qt 5.12.3 with MSVC 2019, then it is much more likely to be investigated and fixed.

                      I tried but it limits me to 10 MB.

                      You only need to upload the source code. You don't need to upload the binaries.

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

                      Cobra91151C 1 Reply Last reply
                      1
                      • JKSHJ JKSH

                        @Cobra91151 said in Qt 5.9.8 shared build with MSVC 2019 issue:

                        I can't check that because Qt 5.12.x does not support Win Vista.

                        Hmm? Your screenshot and bug report both use Windows 10. Can you use your Windows 10 machine to test?

                        But Qt 5.9.x branch got patched to build Qt WebEngine with VS2019.

                        Oh, I wasn't aware of this. Where did you see this patch?

                        But anyway, note that Qt WebEngine is security-critical. See this post: "Qt 5.9 LTS is currently in ‘Strict’ phase and receives only the selected important bug and security fixes, while Qt 5.12 LTS is currently receiving all the bug fixes."

                        An issue caused by a new compiler is not likely to be fixed in Qt 5.9, s because you can still use an old compiler. However, if you can show that the issue still exists in Qt 5.12.3 with MSVC 2019, then it is much more likely to be investigated and fixed.

                        I tried but it limits me to 10 MB.

                        You only need to upload the source code. You don't need to upload the binaries.

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

                        @JKSH

                        Yes, I use Win 10 for development, but for production it should be supported on Win Vista and later. Currently, I'm switching back to VS 2017. Source code has been attached to the bug report.

                        JKSHJ 1 Reply Last reply
                        0
                        • Cobra91151C Cobra91151

                          @JKSH

                          Yes, I use Win 10 for development, but for production it should be supported on Win Vista and later. Currently, I'm switching back to VS 2017. Source code has been attached to the bug report.

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

                          @Cobra91151 said in Qt 5.9.8 shared build with MSVC 2019 issue:

                          Yes, I use Win 10 for development, but for production it should be supported on Win Vista and later.

                          I was only asking you to check if the issue exists on Qt 5.12 or not. I didn't mean you should upgrade your production version.

                          Currently, I'm switching back to VS 2017.

                          Since you need to support an old OS on an old version of Qt, it makes sense to stay on an old, tested compiler too.

                          Source code has been attached to the bug report.

                          Great, thanks.

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

                          Cobra91151C 2 Replies Last reply
                          2
                          • JKSHJ JKSH

                            @Cobra91151 said in Qt 5.9.8 shared build with MSVC 2019 issue:

                            Yes, I use Win 10 for development, but for production it should be supported on Win Vista and later.

                            I was only asking you to check if the issue exists on Qt 5.12 or not. I didn't mean you should upgrade your production version.

                            Currently, I'm switching back to VS 2017.

                            Since you need to support an old OS on an old version of Qt, it makes sense to stay on an old, tested compiler too.

                            Source code has been attached to the bug report.

                            Great, thanks.

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

                            @JKSH

                            I'm going to check Qt 5.12.3 for such issue with MSVC2019. I will reply about it later.

                            1 Reply Last reply
                            0
                            • JKSHJ JKSH

                              @Cobra91151 said in Qt 5.9.8 shared build with MSVC 2019 issue:

                              Yes, I use Win 10 for development, but for production it should be supported on Win Vista and later.

                              I was only asking you to check if the issue exists on Qt 5.12 or not. I didn't mean you should upgrade your production version.

                              Currently, I'm switching back to VS 2017.

                              Since you need to support an old OS on an old version of Qt, it makes sense to stay on an old, tested compiler too.

                              Source code has been attached to the bug report.

                              Great, thanks.

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

                              @JKSH

                              So, the same issue is present on Qt 5.12.3 built with MSVC2019 compiler:

                              0_1559585674874_qt_5.12.3_vs2019_issue.gif

                              I think the problem is with ANGLE API textures/shaders.

                              1 Reply Last reply
                              0
                              • P Offline
                                P Offline
                                pfandl
                                wrote on last edited by
                                #15

                                I have probably the same issue here with 5.12.4. The progressbar has artifacts and also widgets in views tend to get them. I compiled with -opengl desktop and the issue goes away when replacing Qt5Gui.dll and Qt5Widgets.dll with those of the binary release from Qt.

                                1 Reply Last reply
                                0

                                • Login

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