maliit-framework fails to build on Qt 5.3

Bug #1323962 reported by Timo Jyrinki
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maliit-framework (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

maliit-framework fails to build on Qt 5.3:

https://launchpad.net/~ci-train-ppa-service/+archive/landing-005/+sourcepub/4201467/+listing-archive-extra
--
maliit/plugins/updateevent.cpp:42:107: error: conversion from 'qlonglong {aka long long int}' to 'QFlag' is ambiguous
                                              update.value(Maliit::Internal::inputMethodHints).toLongLong()));
--

Since maliit-framework depend on qtbase-abi-5-2-1, it requires a rebuild.

Tags: patch qt5.3
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

A related fix in QtWebKit was: https://qt.gitorious.org/qt/qtwebkit/commit/39ec04fedbc2862073ed38b61e152d9e0d73077d

And also a bug related to pyqt5 breaking was marked as invalid, ie the bug is in pyqt5: https://bugreports.qt-project.org/browse/QTBUG-38852

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maliit-framework (Ubuntu):
status: New → Confirmed
Revision history for this message
ultraviolet (ultravioletnanokitty) wrote :

here's a patch with the appropriate corrections. with it, mallit-framework compiles correctly and passes make check.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "syntax corrections for qt 5.3" 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 :

Hey ultraviolet, thanks a lot for the patch!

I can confirm it does work very well on all six architectures:
https://launchpad.net/~ci-train-ppa-service/+archive/landing-005/+sourcepub/4211058/+listing-archive-extra

Changed in maliit-framework (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maliit-framework - 0.99.0+git20130615+97e8335-0ubuntu9

---------------
maliit-framework (0.99.0+git20130615+97e8335-0ubuntu9) utopic; urgency=medium

  [ Timo Jyrinki ]
  * Rebuild against Qt 5.3.

  [ ultraviolet ]
  * Add 0008-qt5.3-fix.patch:
    - Fix building against Qt 5.3 (LP: #1323962)
 -- Timo Jyrinki <email address hidden> Mon, 02 Jun 2014 15:26:38 +0300

Changed in maliit-framework (Ubuntu):
status: Fix Committed → 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.