Hi there,

For the new Qt release candidate, include files which used to be installed 
are no longer installed:
 
 https://bugreports.qt-project.org/browse/QTBUG-32134
 http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc2/

The header files are no longer installed to $PREFIX/include/ because the 
frameworks installed by Qt are now 'self contained', I'm told.

I assumed that would mean that the include dirs in the config files could 
simply be removed:

 set(_Qt5Core_OWN_INCLUDE_DIRS 
   "${_qt5Core_install_prefix}/include/" 
   "${_qt5Core_install_prefix}/include/QtCore") # No longer exist

 # Should not be needed anyway (for frameworks):
 set_property(TARGET Qt5::Core PROPERTY
   INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Core_OWN_INCLUDE_DIRS}) 

However, a colleage tested it (I have no Mac to hand), and told me that if 
those relevant lines are removed from the Config files, CMake does not seem 
to pass the relevant -F and --framework lines to the compiler, so #includes 
do not work.

Is that a missing feature in CMake that is known, or an unknown bug in a 
case which should work?

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

Reply via email to