Simple fix: 
#define emit Q_EMIT
#include .....
#undef emit

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

Title:
  UITK: error: 'emit' was not declared in this scope

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  New with Qt 5.5.1:

  --
  In file included from plugin/ucubuntushape.cpp:37:0:
  
/usr/include/x86_64-linux-gnu/qt5/QtQuick/5.5.1/QtQuick/privateqquickimage_p.h: 
In member function 'virtual void QQuickImage::emitAutoTransformBaseChanged()':
  
/usr/include/x86_64-linux-gnu/qt5/QtQuick/5.5.1/QtQuick/private/qquickimage_p.h:91:67:
 error: 'emit' was not declared in this scope
       virtual void emitAutoTransformBaseChanged() Q_DECL_OVERRIDE { emit 
autoTransformChanged(); }
                                                                     ^
  --

  https://launchpadlibrarian.net/221749985/buildlog_ubuntu-wily-amd64
  .ubuntu-ui-
  
toolkit_1.3.1676%2B15.10.20151008-0ubuntu2~wily1~qt551~1%2Bhack2_BUILDING.txt.gz

  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/ubuntu-ui-toolkit/+bug/1507910/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to