[Development] Issues with compiling Qt-Creator on windows

Ziller Eike Eike.Ziller at digia.com
Mon Oct 8 09:50:28 CEST 2012


On 7 Oct 2012, at 16:21, Majid Khan <mkhan3189 at gmail.com> wrote:

> I have tried compiling Qt creator using VS2010 (qt4.8.1) but I am missing <private/qwineventnotifier_p.h>.
> 
> It works alright in linux (but thats because inclusion is under pre-processor directive for Q_OS_WIN.  I have seen this has been issue for some other people too but haven't seen any fix around it.
> 
> Anyone has any idea for a workaround it? 

That's a private Qt header. If you have an installed Qt / a Qt with a install prefix that is not the source directory, you need to point Qt Creator's build to where the private headers are by setting the qmake variable QT_PRIVATE_HEADERS, e.g.

qmake -r QT_PRIVATE_HEADERS="/home/me/where/qt/buildtree/is/include" && make

Br, Eike

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Development mailing list