Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    Include screen.h into a file, where you have undefined reference to MainScreen constructor.

  2. #17
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    Quote Originally Posted by divanov View Post
    Include screen.h into a file, where you have undefined reference to MainScreen constructor.
    I have included "scren.h", on both "mainwindow.h" and "mainwindow.cpp" but still it is giving the same error:

    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Qt\DisplayMainWindow\GCCE.make" FINAL CFG=UDEB VERBOSE=-s
    \S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Qt\DisplayMainWindow\DISPLAYMAINWINDOW_0XE27569AA\GCCE\udeb\mainwindow.o: In function `MainWindow::buttonClicked(bool)':
    /Qt/DisplayMainWindow/mainwindow.cpp:59: undefined reference to `MainScreen::MainScreen(QWidget*)'
    make[2]: *** [\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\gcce\udeb\DisplayMainWindow.exe] Error 1
    make[1]: *** [TARGETDISPLAYMAINWINDOW_0XE27569AA] Error 2
    Please have a look...
    Last edited by RajeevSahu; 2010-07-29 at 14:48.

  3. #18
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    Could you please share the whole project? You can use http://www.mediafire.com, or any other file sharing service.

  4. #19
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    331

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    Hi divanov,
    very strange!!!
    Yesterday it was giving error, but now it's working very fine. No issues.
    I don't know how this thing has happened.

    Anyways, Thanks a lot. This issue is fixed.

    Regards,
    Rajeev

  5. #20
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    hello to all..
    i am getting the same problem of
    QMetaObject::connectSlotsByName: No matching signal for on_closeButton_clicked()

    can anyone please tell me, what you did to counter this problem?

  6. #21
    Registered User
    Join Date
    Dec 2013
    Posts
    1

    Re: QMetaObject::connectSlotsByName: No matching signal for on_pushButton_clicked()

    Actually it is simple.
    The on_<objectname>_<signalname>() is something that setup(Ui); uses to automatically make the connect.

    Solution: Just remove everywhere the on_, add manually a connect statement and the message is gone.

    In your case: on_closeButton_clicked() remove on_ to get closeButton_clicked().
    You have to add (at the right place) a connect statement yourself:
    connect(<someobject>,SIGNAL(<somesignal>),<someotherobject>,SLOT(closeButton_clicked()));

    The <somesignal> is probably clicked().


    Quote Originally Posted by shantanu_sharma View Post
    hello to all..
    i am getting the same problem of
    QMetaObject::connectSlotsByName: No matching signal for on_closeButton_clicked()

    can anyone please tell me, what you did to counter this problem?

Similar Threads

  1. Replies: 6
    Last Post: 2010-03-20, 15:06
  2. Cell Matching
    By soni_neeraj in forum Symbian
    Replies: 4
    Last Post: 2009-04-08, 07:31
  3. String Matching
    By jetsetgo in forum Symbian
    Replies: 4
    Last Post: 2006-06-15, 15:23
  4. next sync anchor not matching
    By sunilm in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2005-03-28, 12:24
  5. Crash with CAknSelectionListDialog / incremental matching
    By delwynh in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-11-13, 01:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×