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
