Results 1 to 4 of 4

Thread: QObject::connect says "no such signal"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QObject::connect says "no such signal"

    try this

    Qt Code:
    1. QObject::connect(
    2. &sB, SIGNAL(valueChanged(int)),
    3. &app, SLOT(quit())
    4. );
    To copy to clipboard, switch view to plain text mode 

    In signal and slot you should only specify the variable type and not the variable name.

  2. The following user says thank you to munna for this useful post:

    MistaPain (30th October 2006)

Similar Threads

  1. QStringList in QObject::connect
    By DPinLV in forum Qt Programming
    Replies: 6
    Last Post: 6th September 2006, 17:01

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.