On Wednesday, November 07, 2012 09:43:06 AM Radek Polak wrote: > On Wednesday, November 07, 2012 07:28:59 AM Radek Polak wrote: > > For now i have two source and build trees - with 4.7 qt and with 4.8 and > > putting some qDebug() to figure out where the problem exactly is. > > Attached is patch with some debug writes. You can see that 4.7 and 4.8 > generate different QContent - note the values for Role and Filename:
I have tracked it now to this: QContent content("/root/qte/qtmoko47/src/settings/speeddial/speeddial.desktop", false); qDebug() << "content=" << content; ------------------------>% for Qt 4.7: QContent( QContentEngine( Id: "ffffffff|ffffffffffffffff" Name: "Speed Dial" FileName: "speeddial" MimeType: "application/x-executable" DrmState: 0 Role: 3 IconName: "speeddial/speeddial" LastUpdated: QDateTime("Sun Nov 4 02:44:52 2012") ) ) ------------------------>% for Qt 4.8: QContent( QContentEngine( Id: "ffffffff|ffffffffffffffff" Name: "speeddial.desktop" FileName: "/root/qte/qtmoko47/src/settings/speeddial/speeddial.desktop" MimeType: "application/octet-stream" DrmState: 0 Role: 1 IconName: "" LastUpdated: QDateTime("Sun Nov 4 02:44:52 2012") ) ) Regards Radek _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community