libusermetrics FTBFS with Qt 5.5

Bug #1447173 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libusermetrics (Ubuntu)
Fix Released
High
Pete Woods

Bug Description

libusermetrics fails to build against Qt 5.5:

https://launchpadlibrarian.net/204004781/buildlog_ubuntu-vivid-amd64.libusermetrics_1.1.1%2B15.04.20150219-0ubuntu2~vivid1~test1~qt550alpha1_BUILDING.txt.gz

--
/build/buildd/libusermetrics-1.1.1+15.04.20150219/include/libusermetricsoutput/ColorTheme.h:36:48: error: expected class-name before '{' token
 class Q_DECL_EXPORT ColorTheme: public QObject {
                                                ^
/build/buildd/libusermetrics-1.1.1+15.04.20150219/include/libusermetricsoutput/ColorTheme.h:37:1: error: 'Q_OBJECT' does not name a type
 Q_OBJECT
 ^
--

Maybe a missing include that could be added even without #ifdef 5.4/5.5?

unity8 needed this fix: https://code.launchpad.net/~aacid/unity8/qt55/+merge/254418 and maliit-framework needed this one https://launchpadlibrarian.net/203838825/0014-fix-building-with-qt5.5.patch

More information about Qt 5.5 at https://wiki.ubuntu.com/Touch/QtTesting

Tags: qt5.5

Related branches

description: updated
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Libusermetrics continues to fail to build against Qt 5.5 beta.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Changed in libusermetrics (Ubuntu):
importance: Undecided → High
Revision history for this message
Pete Woods (pete-woods) wrote :

Almost certainly the missing include. the Qt guys have been doing a thorough job of cleaning up unnecessary includes in their headers, with the side-effect of breaking compiles for those who accidentally depended on them.

Pete Woods (pete-woods)
Changed in libusermetrics (Ubuntu):
assignee: nobody → Pete Woods (pete-woods)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libusermetrics - 1.1.1+15.10.20150723.1-0ubuntu1

---------------
libusermetrics (1.1.1+15.10.20150723.1-0ubuntu1) wily; urgency=medium

  [ Pete Woods ]
  * Add missing QObject include (LP: #1447173)
  * Disable valgrind during debian builds (LP: #1475600)

 -- CI Train Bot <email address hidden> Thu, 23 Jul 2015 08:58:05 +0000

Changed in libusermetrics (Ubuntu):
status: In Progress → 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.