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. ASSERT: "mask.width() <= c.w && mask.height() <= c.h" in file painting\qtextureglyphcache.cpp, line 321
Forum Updated to NodeBB v4.3 + New Features

ASSERT: "mask.width() <= c.w && mask.height() <= c.h" in file painting\qtextureglyphcache.cpp, line 321

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 2.2k Views 1 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by Violet Giraffe
    #1

    Compiled my application against Qt 5.10.1 for the first time and am hitting this assert right after main window is displayed (before it's painted). Then the program quits. used to work fine with Qt 5.9.3. Is this a known problem? Any solutions?

    Just tested in 5.9.5, same thing. Puzzled.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Please provide a small, compilable example. The assert was added with 7df4dcff2cafcd9b57eb7a4812be871d956f0ec8 which is a fix for https://bugreports.qt.io/browse/QTBUG-64239
      But since it was added in 5.9.3 I wonder if this is the real cause - therefore a compilable example is needed...

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Violet Giraffe
        wrote on last edited by
        #3

        I have a perfectly compilable example, just not very small: https://github.com/VioletGiraffe/file-commander
        A naive attempt to repro this in a new project failed.

        Confirmed working with 5.9.3, failing with 5.9.5 and 5.10.1. Compiling with msvc2015_64 on Windows 10.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Violet Giraffe
          wrote on last edited by
          #4

          Could someone who's working with the Qt code base look into this? I don't necessarily think it's a bug it Qt so I'm hesitant of filing a bugreport against Qt (and also because I don't have an MCVE), but I also don't think I did anything wrong in my code.

          jsulmJ 1 Reply Last reply
          0
          • V Violet Giraffe

            Could someone who's working with the Qt code base look into this? I don't necessarily think it's a bug it Qt so I'm hesitant of filing a bugreport against Qt (and also because I don't have an MCVE), but I also don't think I did anything wrong in my code.

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

            @Violet-Giraffe If you want to contact Qt developers then you're doing it in the wrong place - this is user forum.
            Ask Qt developers on the mailing list: http://lists.qt-project.org/mailman/listinfo

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

            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