Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. With every Build MSVS is mocing all header file

With every Build MSVS is mocing all header file

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mprakash
    wrote on last edited by
    #1

    We are migrating from MSVS 2008 to 2010. Now the big problem we are facing is when ever we build our project it re moc all the header file which is kind of very very time taking and frustrating. I have no clue yet why the hell is this happening.

    we generat .pro file from command prompt using qmake -project and after adding further dependencies to it we generate Visual Studio 2010 style vcxproj file. When we load this vcxproj file and build via visual studio build menu, it does the mocing of header file. When build first time mocing all header makes sens, but even you do couple line of change in a one file and build it again, it re moc all the header file. our project is very big and it has hundreds of header file that takes hell of the time.

    Can any one please help with this problem how to fix this, we are using Qt 4.7.2

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      It could well be that you are facing the same problem as described in this "post/solution":http://developer.qt.nokia.com/forums/viewthread/7658/#45053

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved