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

2012-03-29 Thread Sherif Ghali
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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


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

2012-03-29 Thread Thiago Macieira
On quinta-feira, 29 de março de 2012 13.59.00, Sherif Ghali 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.

You need to add: -tp vc

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
 Intel Sweden AB - Registration Number: 556189-6027
 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden


signature.asc
Description: This is a digitally signed message part.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


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

2012-03-29 Thread 1+1=2
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.

Regards,

Debao

On Thu, Mar 29, 2012 at 10:59 AM, Sherif Ghali sherif.ghal...@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@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