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

程序运行过程中经常崩在~QBrush里面

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.12.7
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      WIndows10/VS2017 Qt5.12.7 x64
    • Platform/s:
      Windows

      Description

      Thank you very much for your reply, sir!

      I want refresh CPU resource of the current system regularly by a QTimer, and then displayed with a QLabel. If the CPU usage exceeds a certain proportion, the text color of QLabel's stylesheet will be changed.

      Application crashed after running for a period of time.

      The crash stack is as follows:

      Similar crashes have occurred many times. Some of them may not be set stylesheet (), but may be in the process of decomposing a QWidget. What they have in common is that they all crash in qbrush's destructor!

        Attachments

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

          Activity

            People

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            vikiwang Viki Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes