maliit-framework fails to build against Qt 5.5

Bug #1437182 reported by Timo Jyrinki on 2015-03-27
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maliit-framework (Ubuntu)
High
Michael Sheldon

Bug Description

Build log:https://launchpadlibrarian.net/201366368/buildlog_ubuntu-vivid-amd64.maliit-framework_0.99.0%2Bgit20130923%2B17fdf86-0ubuntu9~vivid1~test1~qt550alpha1_BUILDING.txt.gz

---
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://wiki.ubuntu.com/Touch/QtTesting

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 :

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.

Changed in maliit-framework (Ubuntu):
importance: Undecided → High
assignee: nobody → Michael Sheldon (michael-sheldon)

Sure thing, I'll try and get it scheduled for our next sprint.

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.

The attachment "0014-fix-building-with-qt5.5.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[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 :

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 :

This bug was fixed in the package maliit-framework - 0.99.0+git20130923+17fdf86-0ubuntu9

---------------
maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu9) wily; urgency=medium

  [ Michael Sheldon ]
  * 0014-fix-building-with-qt5.5.patch: Fix FTBFS with Qt 5.5 (LP: #1437182)

 -- Timo Jyrinki <email address hidden> Thu, 04 Jun 2015 12:12:49 +0100

Changed in maliit-framework (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers