Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327827 - Qt cross compilation support
Summary: Qt cross compilation support
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 305501 503950 (view as bug list)
Depends on:
Blocks: portage-multilib
  Show dependency tree
 
Reported: 2010-07-11 19:28 UTC by Matthias Fauconneau
Modified: 2014-04-28 21:47 UTC (History)
6 users (show)

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


Attachments
patch to qt4-build eclass (qt4-build.diff,1.27 KB, patch)
2010-07-11 19:30 UTC, Matthias Fauconneau
Details | Diff
patch to qt-core ebuild (qt-core-4.7.0_beta2.diff,2.98 KB, patch)
2010-07-11 19:32 UTC, Matthias Fauconneau
Details | Diff
patch to qt-phonon ebuild (qt-phonon-4.7.0_beta2.diff,451 bytes, patch)
2010-07-11 19:33 UTC, Matthias Fauconneau
Details | Diff
linux-cross-g++/qmake.conf (qmake.conf,635 bytes, text/plain)
2010-07-11 20:05 UTC, Matthias Fauconneau
Details
linux-cross-g++/qplatformdefs.h (qplatformdefs.h,2.74 KB, text/plain)
2010-07-11 20:06 UTC, Matthias Fauconneau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fauconneau 2010-07-11 19:28:47 UTC
Attached files enable Qt cross compilation for an arm target.
Comment 1 Matthias Fauconneau 2010-07-11 19:30:32 UTC
Created attachment 238343 [details, diff]
patch to qt4-build eclass
Comment 2 Matthias Fauconneau 2010-07-11 19:32:58 UTC
Created attachment 238345 [details, diff]
patch to qt-core ebuild
Comment 3 Matthias Fauconneau 2010-07-11 19:33:45 UTC
Created attachment 238347 [details, diff]
patch to qt-phonon ebuild
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-07-11 19:37:02 UTC
Doesn't Qt cross-compiles if you build an arm toolchain?
Comment 5 Matthias Fauconneau 2010-07-11 20:03:56 UTC
(In reply to comment #4)
> Doesn't Qt cross-compiles if you build an arm toolchain?

The patches are using the arm toolchain.
You can see the changes are wrapped with tc-is-cross-compiler
I'm building an image for a device using Gentoo ARM stage3 and a crossdev toolchain.
Comment 6 Matthias Fauconneau 2010-07-11 20:05:33 UTC
Created attachment 238349 [details]
linux-cross-g++/qmake.conf

forgot the actual config files
Comment 7 Matthias Fauconneau 2010-07-11 20:06:08 UTC
Created attachment 238351 [details]
linux-cross-g++/qplatformdefs.h

forgot the actual config files
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-07-12 06:48:24 UTC
Matthias, thanks for your patches.
IMHO it's more a hack than proper cross compilation support... but anyway we will have to look into it. There's also bug #305501 about this.
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2012-01-09 13:32:39 UTC
*** Bug 305501 has been marked as a duplicate of this bug. ***
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2014-03-09 19:37:54 UTC
*** Bug 503950 has been marked as a duplicate of this bug. ***