Bluecherry-client build fail on Ubuntu 18.04 bionic

Getting error while using 2nd last command from BUILD-UBUNTU.txt
$ make ffmpeg bluecherry-client

/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp: In member function ‘void LiveFeedItem::saveSnapshot(const QString&)’:
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:216:23: error: ‘scene’ was not declared in this scope
QWidget window = scene()->views().value(0);
^~~~~
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:216:23: note: suggested alternative: ‘scale’
QWidget *window = scene()->views().value(0);
^~~~~
scale
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp: In member function ‘virtual void LiveFeedItem::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:255:5: error: ‘QDeclarativeItem’ has not been declared
QDeclarativeItem::mousePressEvent(event);
^~~~~~~~~~~~~~~~
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp: In member function ‘QPoint LiveFeedItem::globalPosForItem(QQuickItem
)’:
/home/blue/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:514:37: error: ‘class QQuickItem’ has no member named ‘scene’; did you mean ‘scale’?
QGraphicsView *view = item->scene()->views().value(0);
^~~~~
scale

please help on the issue.

We are currently in the process of upgrading the client to Qt5, which is a pretty large overhaul.

It’s best that you checkout tag ‘2.2.7’ and try again.

Thanks, It’s compiled successfully. :blush: :blush:
Finally a happy weekend.

Thanks again