Hi Mikhail, If you have so many C++ error in the project that was normally compiled with different CMake without compiler change, it might be that your project was not configured properly and mocing was actually done by add-in.
In this case errors you get should be probably linking errors. So you might be required to add mocing manually to your CMake project for each relevant file, I have not used CMake in such way, but I am pretty sure I've seen somewhere on the web instructions how to add "mocing" to CMake projects. Alex On Thu, Jul 12, 2012 at 8:33 AM, Joerg Bornemann <joerg.bornem...@nokia.com> wrote: > On 10/07/2012 20:36, ext Gerenrot, Mikhail wrote: > >> We have a C++ project that uses QT3. We run CMake to generate the >> project and run VS 2008 to compile. With CMake 2.6 everything was OK, >> but now we have upgraded to CMake 2.8. It generates the project, but VS >> does not compile, it gives Qt Visual Studio Add-in error that says >> “ERROR: Can't find the Qt version that's associated with this project.”. > > The add-in never really supported CMake generated projects. > If this worked for you until now, its purely accidental. ;-) > To find out why this stopped working you could maybe diff the project > files that were generated with different CMake versions. > > > BR, > > Jörg > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest