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. Problem with qPreview and painter
QtWS25 Last Chance

Problem with qPreview and painter

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.1k Views
  • 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.
  • N Offline
    N Offline
    NeloS
    wrote on last edited by
    #1

    Hello,

    i write a method to paint a few tables and show it with the qPreview class.
    I get the table data from a Database and draw everthing with drawText, drawLine, drawRect.
    The text is drawn and displayed in the preview... BUT if i draw lines over multible raws around the text tables the preview will crash and the following error pop up.

    "!fill->Data->clip->clipRect.isEmpty" in file painting\qpaintengine_raster.cpp, line 4069
    if i try to open the file it does not exist...

    Anyone know this error?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aliks-os
      wrote on last edited by
      #2

      There is too diffuclt to say anything with out your code. The best way make a control point and start debug.
      According your message, possible to say that you try to draw something with empty data ((((

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hareen Laks
        wrote on last edited by
        #3

        You can found the answer "here":http://hareenlaks.blogspot.com/2014/10/solution-for-filldata-clip.html.

        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