Clinton Stimpson wrote:
> Yeah, I understand that is the issue.
> I don't quite get what is new for Qt 5.1. I thought Qt 4.x only installed
> Qt headers inside the framework too. Perhaps its new from 5.0 to 5.1?
Yes.
>
> On a Mac with a prebuilt Qt 4.7
> qmake -query QT_INSTALL_HEADERS => /usr/include
> The only Qt headers under there are the headers for the QtUiTools module
> which is a static library and not a framework.
> That is why we had this in FindQt4.cmake/UseQt4.cmake
> include_directories("/path/to/QtCore.framework;/usr/include")
> which produced a "-F/path/to" and "-I/usr/include" compile flags.
>
Ok, so maybe what I need is to add the path to the framework to the
INTERFACE_INCLUDE_DIRECTORIES of each target?
As a feature, would it make sense to make that unnecessary in a future CMake
version?
Thanks,
Steve.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers