[Interest] qmake -spec win32-msvc2010 generates Makefiles but no project file

1+1=2 dbzhang800 at gmail.com
Thu Mar 29 22:31:55 CEST 2012

Hi Sherif,

Generated makefiles for nmake or generated vcproj for visual studio,
depending on which TEMPLATE you used in your .pro file.

app / lib ==> makefiles
vcapp / vclib ==> .vcproj

As Thiago said, the convenient way to do this is add "-tp vc" to
qmake's command line, if you TEMPLATE is app or lib.



On Thu, Mar 29, 2012 at 10:59 AM, Sherif Ghali <sherif.ghali.1 at gmail.com> wrote:
> The title says it all. With Qt 4.7.x and Visual C++ 2008 one used to
> be able to generate a Visual Studio project file by running 'qmake
> -spec win32-msvc2008' from the Qt command window.
> Now with Qt 4.8.1 and Visual C++ 2010, running 'qmake -spec
> win32-msvc2010' only generates Makefile, Makefile.debug, and
> Makefile.release, but no VS project file. (The Makefile is otherwise
> usable with nmake just fine.)
> What am I missing?
> Sherif
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list