Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358317 - dev-util/cmake-2.8.4: Fix cross compiling Qt projects
Summary: dev-util/cmake-2.8.4: Fix cross compiling Qt projects
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://www.cmake.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 22:15 UTC by Markus Rathgeb
Modified: 2011-04-18 10:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix finding headers and libraries for cross Qt4 (cmake-2.8.4-FindQt4.patch,10.67 KB, patch)
2011-03-10 22:17 UTC, Markus Rathgeb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2011-03-10 22:15:29 UTC
There is a bug so cross compiling Qt projects with cmake v2.8.4 will not work as expected. The Qt libraries and header will not be found.
I send a patch upstream that is applied to the git repository.
Could we add the patch to ${FILESDIR} and create a cmake-2.8.4-r1.ebuild that is using that patch?
So not everyone that wants cross compiling their Qt projects have to create a local overlay.

Reproducible: Always
Comment 1 Markus Rathgeb 2011-03-10 22:17:02 UTC
Created attachment 265511 [details, diff]
Fix finding headers and libraries for cross Qt4

Patch that is applied upstream and fix finding of Qt4 files for cross compiling.
Comment 2 Markus Rathgeb 2011-03-15 19:52:53 UTC
Here you can found the corresponding thread in the cmake mailing list.
http://www.mail-archive.com/cmake@cmake.org/msg35178.html
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-18 10:17:21 UTC
Patch added in main tree.