[Development] Qt5 Cmake Scripts: wrong include path or Unnecessary?

Loaden loaden at gmail.com
Sat Sep 15 10:19:49 CEST 2012


>
> It's probably the same. "default" is either a copy or a symlink to the
> mkspec
> Qt was compiled with.
>
On Windows, "default" not a copy neither symlink. It only include an
qmake.conf

> QMAKESPEC_ORIGINAL = D:/qpSOFT/MyDEV/sdk/qt/mkspecs/win32-msvc2010
> include(../win32-msvc2010/qmake.conf)
>


> For qplatformdefs.h.
>
Does we really need qplatformdefs.h for compile Qt-based application?
I guess it only used to compile Qt self.

> 2012/9/15 Thiago Macieira <thiago.macieira at intel.com>

> >
> > I thought it should be:
> > list(APPEND Qt5Core_INCLUDE_DIRS
> > "${_qt5_corelib_install_prefix}/mkspecs/win32-msvc2010")
>
> It's probably the same. "default" is either a copy or a symlink to the
> mkspec
> Qt was compiled with.
>
> > Or, just remove it.
> > I don't know why we need this path for includes search?
>
> For qplatformdefs.h.
>
>


-- 
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120915/544d1303/attachment.html>


More information about the Development mailing list