← Back to team overview

touch-packages team mailing list archive

[Bug 1447173] Re: libusermetrics FTBFS with Qt 5.5

 

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.

** Branch linked: lp:~pete-woods/libusermetrics/ftbfs-qt5.5-lp1447173

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libusermetrics in Ubuntu.
https://bugs.launchpad.net/bugs/1447173

Title:
  libusermetrics FTBFS with Qt 5.5

Status in libusermetrics package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libusermetrics/+bug/1447173/+subscriptions


References