| Summary: | qt-mobility: qmetaobjectbuilder fails to build | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Wenzong.Fan <wenzong.fan> |
| Component: | core | Assignee: | Hongxu Jia <hongxu.jia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | bluelightning, liezhi.yang, Martin.Jansa, meta.mr.watcher, meta.watcher, sgw, wenzong.fan |
| Version: | 1.4 | ||
| Target Milestone: | 1.6 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Wenzong.Fan
2013-05-30 02:44:17 UTC
If keep '-fpermissive' option, the above diagnostics about
nonconformant code from errors to warnings as following:
...
ipc/qmetaobjectbuilder.cpp:803:65: warning: invalid conversion from
'QMetaObjectExtraData::StaticMetacallFunction {aka void (*)(QObject*,
QMetaObject::Call, int, void**)}' to 'QtMobility::QMetaObjectBuilder
::StaticMetacallFunction {aka int (*)(QMetaObject::Call, int, void*
*)}' [-fpermissive]
...
Hi Saul,
Should we fix the conversion warning in this situation? Or just keep
option '-fpermissive' as where it is.
If choose to fix the conversion warning, there is already a patch in
oe-core to fix this:
http://qt.gitorious.org/qt-mobility/qt-mobility/commit/f102053b28009b3094b0e5777177208afa6097c5
If not, I will close this bug.
Thanks,
Hongxu
> http://qt.gitorious.org/qt-mobility/qt-mobility/commit/ > f102053b28009b3094b0e5777177208afa6097c5 > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/qt-mobility //Hongxu Hi Paul, What's your suggestions about the above question? Thanks, Hongxu I'm OK with Wenzong's backported patch linked above, although it is a bit large. If you know about qt-mobility, can you please also check: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5414 Merged into master: commit ae59f6ff20a6ccbf12bc030f250baffc384042f2 Author: Hongxu Jia <hongxu.jia@windriver.com> Date: Thu Feb 27 17:32:19 2014 +0800 qt-mobility: fix metaobjectbuilder build errors |