Results 1 to 3 of 3

Thread: How to delete completely an object of my project?

  1. #1
    Join Date
    Mar 2015
    Posts
    105
    Thanks
    50

    Default How to delete completely an object of my project?

    Good evening!

    I created a program and i put a button in it but after thinking better i decided delete it in the design mode, and now, everytime i try to compile the program i get the following message:

    QMetaObject::connectSlotsByName: No matching signal for on_execButton_clicked()
    How can i fix it?
    Is there any option in qtcreator3.4.0 to erase any reference to an object deleted in all my files automatically?

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: How to delete completely an object of my project?

    Have you tried manually running qmake from the build menu and then try to rebuild?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to delete completely an object of my project?

    Quote Originally Posted by robgeek View Post
    Good evening!

    I created a program and i put a button in it but after thinking better i decided delete it in the design mode, and now, everytime i try to compile the program i get the following message:



    How can i fix it?
    Is there any option in qtcreator3.4.0 to erase any reference to an object deleted in all my files automatically?
    Manually remove the slot from your code or change the function name to something that doesn't match the connect-by-name scheme.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. safe to delete object in other thread?
    By iraytrace in forum Qt Programming
    Replies: 2
    Last Post: 21st October 2011, 22:12
  2. Should I delete QMovie object when I'm done with it?
    By MorrisLiang in forum Qt Programming
    Replies: 1
    Last Post: 3rd June 2010, 15:14
  3. How to safely delete an Object?
    By dbrmik in forum Qt Programming
    Replies: 2
    Last Post: 6th March 2009, 17:23
  4. Replies: 4
    Last Post: 19th February 2009, 11:10
  5. Is it bad to delete an object during its event handler?
    By codeslicer in forum Qt Programming
    Replies: 3
    Last Post: 30th December 2008, 16:14

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.