Results 1 to 5 of 5

Thread: Signals and Slots Problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Signals and Slots Problem (Solved)

    Well that was simple. There were no errors interestingly enough, but your solution worked perfectly. Appreciated.

    P.

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

    Default Re: Signals and Slots Problem (Solved)

    Quote Originally Posted by GenericProdigy View Post
    There were no errors interestingly enough
    Signal-slot connections are established at run time, not at compile time. Signal and slot signatures are just strings for compliler, thus no errors. However, as caduel already pointed out, QObject::connect() will output a detailed warning when a connection fails.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    GenericProdigy (2nd February 2009)

  4. #3
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Signals and Slots Problem

    Stepping through the code I saw nothing. Perhaps I missed something. It looked as though the connect worked, but nothing recieved it, but I'm using a new IDE - perhaps it was hidden somewhere.

Similar Threads

  1. Problem with signals & slots
    By Palmik in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2009, 22:45
  2. Problem with SpinBox signals and slots
    By ramstormrage in forum Newbie
    Replies: 4
    Last Post: 2nd May 2008, 01:45
  3. Signals And Slots problem
    By ldiamond in forum Newbie
    Replies: 7
    Last Post: 23rd March 2008, 00:11
  4. Memory Problem with SIGNALS and SLOTS
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2007, 20:39
  5. Problem with Signals and Slots
    By Kapil in forum Newbie
    Replies: 11
    Last Post: 15th February 2006, 11:35

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.