maliit-framework fails to build against Qt 5.5
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | maliit-framework (Ubuntu) |
High
|
Michael Sheldon | ||
Bug Description
---
main.cpp:67:12: error: enumeration value 'QtInfoMsg' not handled in switch [-Werror=switch]
switch (type) {
^
---
This build was against 5.5.0 alpha, but being feature complete it's likely the bug will persist.
A fix would be very welcome in the way that compiling against both Qt 5.4 and Qt 5.5 would work via for example #ifdef. That way a no-change rebuild would make landing process simpler.
More information about Qt 5.5 at https:/
Related branches
| summary: |
- maliit-framework fails to build against Qt 5.5.0 alpha + maliit-framework fails to build against Qt 5.5 |
| description: | updated |
| Timo Jyrinki (timo-jyrinki) wrote : | #1 |
| Changed in maliit-framework (Ubuntu): | |
| importance: | Undecided → High |
| assignee: | nobody → Michael Sheldon (michael-sheldon) |
| Michael Sheldon (michael-sheldon) wrote : | #2 |
Sure thing, I'll try and get it scheduled for our next sprint.
| Michael Sheldon (michael-sheldon) wrote : | #3 |
Attached is a patch which fixes the build issue, I haven't be able to test it on a device running Qt 5.5 though, as the PPA currently renders the phone unbootable, so I'd suggest just adding this patch to the package in your PPA for now.
| Timo Jyrinki (timo-jyrinki) wrote : | #4 |
The patch works great ie at least it builds! https:/
The attachment "0014-fix-
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Timo Jyrinki (timo-jyrinki) wrote : | #6 |
Wily is now open. This would be nice to get landed there at some point before Qt 5.5 gets released.
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package maliit-framework - 0.99.0+
---------------
maliit-framework (0.99.0+
[ Michael Sheldon ]
* 0014-fix-
-- Timo Jyrinki <email address hidden> Thu, 04 Jun 2015 12:12:49 +0100
| Changed in maliit-framework (Ubuntu): | |
| status: | New → Fix Released |


Could you Michael look at this at some point so it'd be possible to test Qt 5.5 running on the phone? (maliit-framework requires a rebuild because of its private symbol usage, and it's the last piece not building)
A preferable fix would be a build time detection of Qt 5.4 or Qt 5.5 and different code path if needed.