Results 1 to 4 of 4

Thread: Exception type loss

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Exception type loss

    Hi

    It would help to see more source. My only guess from what I see is that you forward declared the classes Xmms::connection_error and Xmms::result_error in the header file and did not include the respective headers in the source file.

    Sorry if you already have the answer and this is wrong.

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

    Default Re: Exception type loss

    Quote Originally Posted by geordiejones View Post
    Hi

    It would help to see more source. My only guess from what I see is that you forward declared the classes Xmms::connection_error and Xmms::result_error in the header file and did not include the respective headers in the source file.

    Sorry if you already have the answer and this is wrong.
    No, that can't be it. It would have caused a compile error.

  3. #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: Exception type loss

    Perhaps Qt was built without exception support which would lead to qmake passing -fno-exceptions?
    J-P Nurmi

Similar Threads

  1. Installation on Fedora Core 4
    By jcr in forum Installation and Deployment
    Replies: 3
    Last Post: 29th January 2009, 02:34
  2. Replies: 6
    Last Post: 21st September 2007, 14:51
  3. dummy question(Error)
    By Masih in forum Qt Programming
    Replies: 12
    Last Post: 20th July 2007, 00:38
  4. Exceptions and qApp->processEvents()
    By mcostalba in forum Qt Programming
    Replies: 3
    Last Post: 8th January 2006, 18:06

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.