Results 1 to 2 of 2

Thread: connectSlotsByName isn't working

  1. #1
    Join Date
    Jun 2010
    Location
    Cincinnati, Ohio, USA
    Posts
    92
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question connectSlotsByName isn't working

    I have created a form using the Designer and in the constructor of the class, ui.setupUI(this) is called. In the debug window I am getting:

    QMetaObject::connectSlotsByName: No matching signal for on_testButton_click()
    QMetaObject::connectSlotsByName: No matching signal for on_workingDirBrowseButton_click()

    The problem is, there IS a QPushButton *workingDirBrowseButton and a QPushButton *testButton.

    Why isn't it hooking it up?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: connectSlotsByName isn't working

    The signal is called clicked not click!

Similar Threads

  1. MVC example not working
    By yyiu002 in forum Newbie
    Replies: 1
    Last Post: 30th June 2010, 00:07
  2. My first app not working
    By Noks in forum Newbie
    Replies: 6
    Last Post: 2nd February 2010, 16:34
  3. connectSlotsByName and clicked()
    By becrux in forum Qt Programming
    Replies: 5
    Last Post: 2nd December 2009, 07:05
  4. Replies: 2
    Last Post: 8th November 2007, 20:23
  5. Mac OS X UI not working
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2006, 01:02

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.