libusermetrics FTBFS with Qt 5.5

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

Bug Description

libusermetrics fails to build against Qt 5.5:

/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

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

unity8 needed this fix: and maliit-framework needed this one

More information about Qt 5.5 at

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.