maliit-framework fails to build against Qt 5.5

Bug #1437182 reported by Timo Jyrinki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maliit-framework (Ubuntu)
Fix Released
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

Tags: patch qt5.5
summary: - maliit-framework fails to build against Qt 5.5.0 alpha
+ maliit-framework fails to build against Qt 5.5
description: updated
Revision history for this message
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)
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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
Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.