Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, September 2007
Precompiled headers with VC 2005


Message 1 in thread

Hi,

I tried to use precompiled headers in our project as described in 
http://doc.trolltech.com/4.3/qmake-precompiledheaders.html. So I wrote 
an include file "stable.h" with the frequently used header files. But I 
cannot add the directive "PRECOMPILED_HEADER = stable.h" as with VC 2005 
we do not have access to the .pro file. Instead we have to use the VC 
standard options in .vcproj file. So I fall back with the standard VC 
precompiled headers management where we have to include a "StdAfx.h" in 
every headers of our project (which I do not want).

Is there a way with VC 2005 to declare a precompiled header without 
having to include this file in all our project's header files ?

Thank you

Olivier

--
 [ signature omitted ]