Results 1 to 20 of 23

Thread: Canvas problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Canvas problems

    So are there two versions? I currently use the commercial version of BlackAdder that comes with PyQt and Qt 3.3.1 (at least the release I have). I know that the Linux version of Trolltech has a GNU license, so is free if the software generated is open. Is there a version which is different from the Trolltech version?

    There is one more test that we could perform, if you could run your version (3.3.5) on a Linux box and the problem doesn't show up there it must be something in the difference of the Windows and Linux systems and most likely will not work on 3.3.6 for Windows either.

    Tommy

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Canvas problems

    You have seen my version. I get artifacts but other than you.

  3. #3
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Canvas problems

    I think what you have seen is typical for the kind of problem I have described, so I think we are looking at the same thing here. We know this does not happen on Linux with 3.3.6 but it does happen with 3.3.5 on Windows. We can't test 3.3.6 on Windows, so the only combination to test would be 3.3.6 (your version) on Windows if you have access to it. If not I will probably go ahead and purchase the commercial version from Trolltech. I currently have the commercial PyQt version which comes with a precompiled version of Qt 3.3.1.

    Tommy

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Canvas problems

    You can also switch to Qt 4

  5. #5
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Canvas problems

    Yeah, but since all my drawing code is based on the Q3 QCanvas I would have to use the Q3... classes anyway so there won't be a big difference in that regard.
    I hope Trolltech will implement a good/better paint engine in Q4 at some point. I need something that is highly efficient and has a simple interface like the QPainter interface.

    Tommy

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

  7. The following user says thank you to wysota for this useful post:

    mhoover (10th May 2006)

  8. #7
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Canvas problems

    Wow, that is great news. I'm certain that problem will be fixed in the new implementation. Does anyone know when a beta of 4.2 will become available?

    Tommy

  9. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Canvas problems

    Q3-Q4/2006.

    BTW. Jacek suggested that you might have understood that I have tested your code with Qt 3.3.5 under Windows -- that's not true, I tested it under Linux, I don't have Qt 3.3 for Windows.

  10. #9
    Join Date
    Jan 2006
    Location
    Bend, Oregon
    Posts
    27
    Qt products
    Qt3
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Canvas problems

    Well, if you tested under Linux and the problem showed up with your 3.3.5 version and Jacek tested with the 3.3.6 version and it didn't show there is a chance that it was resolved in between these two releases. I will upgrade in the next few weeks and send a reply to what I find regarding this problem.

    Cheers,
    Tommy

Similar Threads

  1. problems creating toolbar...(do see the attachment)!
    By sumit in forum Qt Programming
    Replies: 15
    Last Post: 10th September 2008, 11:23
  2. flicker and wierd resize problems ...
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2008, 18:00
  3. When is the best time to delete a QCanvasItem
    By irudkin in forum Qt Programming
    Replies: 12
    Last Post: 8th March 2007, 21:28
  4. showMaximized doesnt show the canvas
    By Kapil in forum Qt Programming
    Replies: 5
    Last Post: 23rd May 2006, 12:22
  5. Setting focus on Canvas
    By Kapil in forum Qt Programming
    Replies: 10
    Last Post: 17th May 2006, 12:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.