Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78661

Qt Quick Images and Canvas are not correctly painted in release static build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.12.5
    • Quick: SceneGraph
    • None
    • Windows 10, MSVC 2019 Community.
    • Windows

    Description

      Hi,

      I have recently compiled Qt from the source (tag v5.12.5) on Windows using Microsoft Visual Studio 2019 Community. 

      git clone git://code.qt.io/qt/qt5.git src
      cd src
      git checkout v5.12.5
      perl init-repository -f --module-subset=qtbase,qtdeclarative,qtgraphicaleffects,qtimageformats,qtquickcontrols,qtquickcontrols2,qtwinextras,qtsvg,qtwebsockets,qtmultimedia
      configure -confirm-license -recheck -prefix C:\Qt\5.12.5\msvc2017_64_static -commercial -debug-and-release -static -static-runtime -nomake examples -nomake tools -nomake tests -opengl dynamic -openssl-linked -I C:\vcpkg\installed\x64-windows-static\include -L C:\vcpkg\installed\x64-windows-static\lib OPENSSL_LIBS="libeay32.lib ssleay32.lib"
      

      When building my application with this kit I have realised the existence of a bug that only seems to manifest when I choose to build the application in release mode. In debug mode, it draws correctly.

      On my applications I make heavy use of images and canvas. Both are being affected.

      I'm including a small examples that reproduces the problem. I also include two images, one from running in debug and the other one from running in release, to quickly illustrate the problem I'm experiencing.

      Curiously, this bug doesn't manifest itself when using the kit provided by Qt 5.12.5 Maintenance Tool 

      Thanks! 

      Best regards

      Attachments

        1. debug.png
          debug.png
          22 kB
        2. quick-draw-bug.zip
          3 kB
        3. release.png
          release.png
          57 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            janichol Andy Nichols
            sinosoidal Nuno Santos
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes