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

running application after windeployqt produces weird glitches

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: 5.12.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 7, mingw 730 and msvc 2017 (the problems are consistent between different compilers)
    • Platform/s:
      Windows

      Description

      Tried to deploy a qtquick.2 application using windeployqt, and the outcome was a program that ran, but behaved strangely. For example, had unclickable surfaces, components with wrong size or wrong color.

      I initially thought of a buffer overrun or something similar, but there is no such problem - it seems the problems were all fixed when I created a "qml" directory where the binary was, and moved the deployed Qt, QtGraphicalEffects, QtQml, QtQuick and QtQuick.2  directories in it.

      It might not be necessary that all of them are moved inside the qml directory - I do not really understand the nature of the problem.

      The application would otherwise run fine in the "build environment", or when qtcore.dll is not patched.

      The deployment tool was invoked as follows:

      path_to/windeployqt --release --qmldir my_project_qmldir   path_to/pe_name

      A short case to reproduce is not so easy to write, as the glitches appear somewhat inconsistently.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            imak Ioannis Makris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes