Qt4 in Visual Studio 2008 - moc-ed files get excluded from build?

后端 未结 6 1580
野趣味
野趣味 2021-01-01 01:26

Recently I have installed VS Addin from Qt Software and I imported my .pro project to VS2008. Generally, all works fine, with one small but annoying exception.

Suppo

6条回答
  •  [愿得一人]
    2021-01-01 01:48

    did you set your configuration correctly?

    Open the window "Debug Configuration Settings" Set the following items as stated below:

    • "Build command line" qmake -project & qmake & nmake debug
    • "Clean commands" nmake debug-clean
    • "Rebuild command line" qmake & nmake debug

    Repeat the same with the release configuration

提交回复
热议问题