Results 1 to 3 of 3

Thread: QTextBrowser - click on link - closes window

  1. #1
    Join Date
    Jan 2007
    Posts
    91
    Thanks
    21
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default QTextBrowser - click on link - closes window

    I have a very simple window in which I display an HTML. At one point it was working, but now, when I click on a link or the back or home button, the window closes.

    I've attached the file.

    - BRC
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTextBrowser - click on link - closes window

    Hey, you should give us the whole source code, so we can compile it !

    I'll check your cpp though

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextBrowser - click on link - closes window

    Well, even if you can't post the whole source, try posting something relevant to the problem. Like the home() slot, at least.

    I can't get anything from the file you posted because it has nothing to do with the problem. You have there only some initialization code.

    BTW, what's with all the statics? ( and I'm not judging your code )

    Regards

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.