[Qt-interest] qmake and vs2010

Francesco Lamonica alienpenguin at gmail.com
Sat Mar 12 11:32:01 CET 2011


hi René,
unfortunately that does not apply to my case, as i did configure the
qt with that platform switch and in fact when i run qmake i get a
vcprojx file generated. Seems it does not generate a correct one
still.

On Fri, Mar 11, 2011 at 9:33 PM, René Reucher
<rene.reucher at batcom-it.net> wrote:
> Am 11.03.2011 12:06, schrieb Francesco Lamonica:
>  > I have not done any configuration on VS side yet, it's a vanilla
>  > install. What happens is that i run qmake to generate the .vcprojx
>  > file i open it with VS and when i press F7 (compile) nothing happens,
>  > i immediately just get a message of unsuccessful build, but no moc'ing
>  > happens, no .cpp is compiled, nothing at all.
>  > I installed the vs-addin 1.1.8 and i tried to open my .pro file within
>  > VS, that changed things a bit, the moc part takes place, but the
>  > compilation fails since the uic does not get called.
>  >
>  > any idea about what i might be missing?
>  >
>  > thanks
>  >
>  > P.S. Obviously the .pro works like a charm on linux, VS2008 and Mac.
> I had a similar issue on using "qmake -tp vc" caused by a wrong mkspec
> (though I'm not using any VS integration, I just create VC++ project
> files)... until I reconfigured / rebuilt Qt 4.7.2 with this configure
> command line:
>
> E:\Qt> configure.exe -fast -opensource -release -platform win32-msvc2010
>
> The mkspec chosen automatically was "win32-msvc2008" which causes qmake
> to create VC++ 2008 compatible .vcproj files. With the right mkspec of
> "win32-msvc2010" it now produces VC++ 2010 compatible .vcxproj files.
>
> Hope this helps (provided that it's a similar situation)!
>
> Cheers, René
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list