I couldn't make it work at all. The only way i could make it work is by
manually specifing them (see
http://developer.symbian.org/wiki/Deploying_a_Qt_Application)...

Can you provide an example multi-language PRO file which uses QtMobility
for Symbian?


On Wed, 17 Nov 2010 15:41:15 +0200, Luoma Antti <antti.lu...@digia.com>
wrote:
> Hi,
> 
> That second line comes from Mobility.prf located in
> C:\Qt\4.7.0\mkspecs\feature Check/modify  that file for your needs.
> 
> But I didn't quite understood why you are declaring dependencies to Qt
and
> Qtmobility yourself, this should be "automatic". Shouldn't you just
specify
> the language parts?
> 
> -antti
> 
> -----Original Message-----
> From: qt-mobility-feedback-boun...@trolltech.com
> [mailto:qt-mobility-feedback-boun...@trolltech.com] On Behalf Of Willy
> Gardiol
> Sent: 17. marraskuuta 2010 15:03
> To: qt-mobility-feedback@trolltech.com
> Subject: [Qt-mobility-feedback] Deploying QtMobility for multi-language
app
> 
> 
> What do i have to write in my PRO file?
> 
> This is what i have now:
> 
> [removing useless lines]
> CONFIG = mobility
> default_deployment.pkg_prerules =
> languages = "; Language"\
>                 "&EN,IT"
> 
> # Define the package header.
> packageheader = "$${LITERAL_HASH}{\"FreeTrack\", \"FreeTrack\"},
> ($${FREETRACK_UID3}),1,2,0"
> qtdependency = "(0x2001E61C), $${QT_MAJOR_VERSION},
$${QT_MINOR_VERSION},
> $${QT_PATCH_VERSION}, {\"Qt\",\"Qt\"}"
> qtmobilitydependency = \
>                    "; Default dependency to QtMobility libraries "\
>                    "(0x2002AC89), 1, 0, 2,
> {\"QtMobility\",\"QtMobility\"}"
> 
> my_deployment.pkg_prerules = languages packageheader qtdependency
> qtmobilitydependency dependencyinfo vendorinfo translations
> DEPLOYMENT += my_deployment
> 
> But the problem is i get the following in my PKG file:
> 
> [removing useless lines]
> &EN,IT
> ; Default dependency to QtMobility libraries 
> (0x2002AC89), 1, 0, 2, {"QtMobility","QtMobility"}
> ; Default dependency to QtMobility libraries
> (0x2002AC89), 1, 0, 2, {"QtMobility"}
> 
> which breaks the compilation because the SECOND QtMobility line does not
> support multiple languages. 
> 
> How do i remove that second line? It is added automatically by my
> CONFIG=mobility...

-- 

---
Willy Gardiol
wi...@gardiol.org
_______________________________________________
Qt-mobility-feedback mailing list
Qt-mobility-feedback@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to