[maemo-developers] Something quite amazing (and simple): QtContacts 1.0 on qt Nokia SDK beta

From: daniel wilms daniel.wilms at nokia.com
Date: Tue Jun 8 10:20:26 EEST 2010
Hi,

ext Felipe Crochik wrote:
> I don't know if this was just a happy accident but I just compiled my
> application using Qt Contacts 1.0 mobility library on qt sdk beta and was
> able to have it deployed to my phone automatically.
>
> As most using qt sdk probably knows the mobility packages included with the
> sdk are not release 1.0. 
>
> After asking around and looking for a solution I decided to just mess around
> and try... maybe there is a better way but I failed to find it.
>
>   

the newest MADDE update (0.6.72) has the 1.0 Qt Mobility libraries. You 
can configure your QtCreator to use that one [1].

1. http://wiki.maemo.org/MADDE

Daniel

> IMPORTANT: I don't recommend...if you can...just wait for the official
> release :)
>
> In case anybody is feeling adventurous the steps were quite simple:
>
> 1. Copy the headers for the contacts module from scratchbox to 
> C:\NokiaQtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-1014-slim\usr\inclu
> de
>
> (in order to find out which ones I needed I compiled just the contacts
> module from qt mobility on scratchbox and installed it to a blank folder - I
> can provide the list of files)
>
> 2. Copy the "library" (libqtContacts.so*) from your scratchbox (or device)
> to 
> C:\NokiaQtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-1014-slim\usr\lib
>
> Not sure if this applies to any other environment (than windows) and/or will
> work for any other mobility package but for now it seems to have worked for
> the contacts module at least on windows.
>
> It does make life MUCH easier... too bad it took me all this time to try it.
>
> Please be aware that I don't have any reason to believe (and neither should
> you) that this will not cause some unexpected problems ... All that I know
> is that apparently worked just for one application I tested. 
>
> Felipe
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>   

More information about the maemo-developers mailing list