newbie questions

Jeffery MacEachern j.maceachern at gmail.com
Mon Oct 4 08:16:58 CEST 2010


2010/10/3 Kevin Ottens <ervin at kde.org>:
> On Monday 4 October 2010 07:58:13 Jeffery MacEachern wrote:
>> 2010/10/3 Kevin Ottens <ervin at kde.org>:
>> > On Sunday 3 October 2010 21:13:02 Jeffery MacEachern wrote:
>> >> Yeah, I know.  I don't know how much work it would take (no idea at
>> >> all), but has anyone from KDE looked into implementing it?  As for
>> >> QtCreator integration, a brief glance at the source implied that QMake
>> >> might be tightly tied to the MADDE integration, so that might be
>> >> harder than just gettting MADDE supported. </speculation>
>> >
>> > It can be made to work with cmake, you need to turn on the "relative
>> > paths" option for your build dir. That's not the default on KDE though,
>> > and I don't know if that's still the case but was frowned upon for some
>> > reasons.
>>
>> I guess I spoke in haste.  Could you elaborate, or point us to some
>> documention?
>
> Well, cmake has a CMAKE_USE_RELATIVE_PATHS option that you can set when
> running cmake or using ccmake. It's turned off by default, but obviously you
> can force it to be on. In such a case MADDE then works (comes from the way
> MADDE is done, it wraps calls to the compiler and the linker,

Noted, thanks.

> and redirect -I
> and -L options in the sysroot of the target platform only for relative paths,
> not absolute ones).

Aha!  I wish I'd known *that* 6 months ago.  That explains a lot of
grief I went through, wondering why it wouldn't link to libraries it
was pointed straight at.

> There's also the possibility to use a symlink from the sysroot home to your
> real home, which seems to do the trick if you build everything yourself. But
> that's merely a hack and could perfectly break any time.
>
> For more information, it's all documented on techbase:
> http://techbase.kde.org/Projects/Mobile/MADDE
Great.

 - Jeffery MacEachern
> Regards.
> --
> Kévin Ottens, http://ervin.ipsquad.net
>
> KDAB - proud patron of KDE, http://www.kdab.com
>
> _______________________________________________
> Kde-mobile mailing list
> Kde-mobile at kde.org
> https://mail.kde.org/mailman/listinfo/kde-mobile
>
>


More information about the Kde-mobile mailing list