Hi Willy, Unfortunately having multiple language support was not working until quite recently. I believe what you require is the fix for:
http://bugreports.qt.nokia.com/browse/QTMOBILITY-483 This fix is part of 1.1.0. In theory you should be able to apply it to 1.0.2 as well. Essentially it allows you to avoid that Mobility overrides your custom pkg_prerules. -- Alex >-----Original Message----- >From: [email protected] [mailto:qt-mobility- >[email protected]] On Behalf Of ext Willy Gardiol >Sent: Thursday, 18 November 2010 0:20 >To: Luoma Antti >Cc: [email protected] >Subject: Re: [Qt-mobility-feedback] Deploying QtMobility for multi- >language app > > >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 <[email protected]> >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: [email protected] >> [mailto:[email protected]] On Behalf Of Willy >> Gardiol >> Sent: 17. marraskuuta 2010 15:03 >> To: [email protected] >> 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 >[email protected] >_______________________________________________ >Qt-mobility-feedback mailing list >[email protected] >http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
