On Friday, March 29, 2013 10:33:01 Rex Dieter wrote:
> During packaging qt5 for fedora, someone noticed that cmake .config files
> seemingly set incorrect _install_prefix variables.  One example is in
> qtbase, cmake files installed (on x86_64) as:
> 
> /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake
> /usr/lib64/cmake/Qt5Core/Qt5CoreConfigExtras.cmake
> 
> contain:
> 
> get_filename_component(_qt5_corelib_install_prefix
> "${CMAKE_CURRENT_LIST_DIR}/" ABSOLUTE)
> 
> so ends up with:
> 
> _qt5_corelib_install_prefix = /usr/lib64/cmake/Qt5Core
> 
> which to my untrained eye looks very wrong, and of course, queries in those
> .cmake files to find qmake (and friends) will fail to find anything at
> _qt5_corelib_install_prefix/bin/qmake
> 
> 
> Is this a bug or am I missing something?
> 
> see also downstream bug, http://bugzilla.redhat.com/929227

Thanks for reporting. It looks like a bug alright. 

Can you try the 5.0.2 rc or the release branch from git? 

What is in your configure line? 

Does the patch b9c1593435db3ed44e23c23dc19f22d7a68d7b01 help? 

You may also want 7ac58d1ff0815566ba1de09519299b5119e5ee91. See also the bug 
linked at  
http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/45855

Thanks,

-- 
Stephen Kelly <[email protected]> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to