Results 1 to 3 of 3

Thread: QImage constructor

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QImage constructor

    Try re-downloading Qt. I recall this bug. Upon releasing, the Trolls accidentally uploaded a wrong version of Qt (having the QImage bug) to their servers. It was soon later fixed to the correct package, but all users who managed to download the package during that time were affected by the bug. Are you even able to launch Qt Assistant and Designer? As far as I remember, the bug even prevented either one or both of them from starting up.

    EDIT: By the way, I'm 100% sure the bug was listed on the Task Tracker. I can't find it anymore, though...

    Quote Originally Posted by edb View Post
    If you set d to 0, you cannot access any member of d. I assume your program crashes when you run d->depth. What is the type of d? Why do you initialise it to be 0?
    It's QImage's constructor. Not his own code. d is a pointer to the private implementation.
    Last edited by jpn; 11th January 2007 at 12:09. Reason: updated contents
    J-P Nurmi

Similar Threads

  1. [Qt4] How to load Url image into QImage?
    By Gonzalez in forum Qt Programming
    Replies: 6
    Last Post: 13th October 2014, 10:10
  2. Replies: 7
    Last Post: 28th January 2007, 11:07
  3. Killing a Window in its constructor
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 15th December 2006, 18:31
  4. QPainter and QImage
    By beerkg in forum Newbie
    Replies: 3
    Last Post: 7th September 2006, 14:48
  5. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

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.