[Development] Issues with compiling Qt-Creator on windows

Majid Khan mkhan3189 at gmail.com
Tue Nov 6 22:15:25 CET 2012


I am now using Qt creator to build qt creator and my build step currently
look like:

qmake.exe qtcreator.pro -r -spec win32-msvc2010 "CONFIG+=declarative_debug"

and my private files are in: C:\QtSDK\QtSources\4.8.1\include\QtCore\private

Do I change my build step to


qmake.exe qtcreator.pro -r -spec win32-msvc2010
"CONFIG+=declarative_debug" -r
QT_PRIVATE_HEADERS="/home/me/where/qt/buildtree/is/include"
?

also is there anything else I would need to change?


Thanks

On Mon, Oct 8, 2012 at 6:50 PM, Ziller Eike <Eike.Ziller at digia.com> wrote:

>
> 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
>
>


-- 
Majid Khan
http://www.icplusplus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121107/ff2648f4/attachment.html>


More information about the Development mailing list