Results 1 to 2 of 2

Thread: Deleting Orphaned Moc Files With Make Clean

  1. #1
    Join Date
    May 2012
    Posts
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Deleting Orphaned Moc Files With Make Clean

    Is there a way to delete orphaned files during a Make Clean using a .pro file and qtCreator?

    I am finding orphaned moc_ and ui_ files after code merges and refactoring. Is there a way to delete these files with qtCreator rather than manually doing it on the command line?

    I'm using RHEL 6.x with Qt 4.8.4 and qtCreator 2.7.2.

    Thanks

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Deleting Orphaned Moc Files With Make Clean

    If file names changed in the process of refactoring then deleteing the old object files manually is the only way out.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. A problem about "undefined reference to `Clean::Clean(QObject*)'
    By GeorgeDao123 in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 10th February 2013, 09:36
  2. Replies: 1
    Last Post: 7th October 2011, 21:45
  3. Replies: 2
    Last Post: 27th July 2011, 04:24
  4. Clean all the build files in Qt Creator
    By gt.beta2 in forum Qt Tools
    Replies: 4
    Last Post: 31st March 2011, 17:08
  5. "make install" and "make clean" on Windows for Qt
    By Berberis in forum Installation and Deployment
    Replies: 0
    Last Post: 29th November 2009, 23: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.