Qt Multiarch Transition

Fathi Boudra
Sat, 24 Sep 2011 11:44:28 -0000

On Sat, Sep 24, 2011 at 1:27 PM, George Kiagiadakis
<kiagiadakis.george at gmail.com> wrote:
> On Sat, Sep 24, 2011 at 12:33 PM, Praveen A <pravi.a at gmail.com>
wrote:
>> 2011/9/23 Fathi Boudra <fabo at debian.org>:
>>> Hi,
>>>
>>> I created a wiki page with the details:
>>> http://wiki.debian.org/QtMultiarchTransition
>>>
>>> What I don''t know yet is how to proceed from there?
>>> Obviously coordination is required whatever the plan is.
>>> It worths mentioning that current Qt in Sid fails to build on IA64
architecture.
>>> We could upload Qt 4.7.4 directly to Sid or give it a shot in
Experimental.
>>>
>>> Thought?
>>
>> I was trying to update libdbusmenu-qt for multiarch after seeing your
>> mail, but it seems we can''t do it easily with cmake yet. I saw
many
>> discussions happening about this at different places, but
couldn''t get
>> a solution. Did anyone try multiarch support with cmake yet?
>>
>> Praveen
>
> Check libbluedevil.

CMake has multiarch support since 2.8.5:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b41ad3b3

You need to use CMAKE_LIBRARY_ARCHITECTURE.