bluecherrydvr / bluecherry-client

Bluecherry cross platform video surveillance client application
www.bluecherrydvr.com
GNU General Public License v2.0
90 stars 56 forks source link

Build fails on manjaro QT5 #327

Closed budgie05 closed 3 years ago

budgie05 commented 3 years ago

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:216:23: error: ‘scene’ was not declared in this scope 216 | QWidget *window = scene()->views().value(0);

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:255:5: error: ‘QDeclarativeItem’ has not been declared 255 | QDeclarativeItem::mousePressEvent(event); | ^~~~

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:514:37: error: ‘class QQuickItem’ has no member named ‘scene’ 514 | QGraphicsView *view = item->scene()->views().value(0);

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:515:32: error: ‘class QQuickItem’ has no member named ‘scene’ 515 | Q_ASSERT(view && item->scene()->views().size() == 1);

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:517:90: error: no matching function for call to ‘QQuickItem::mapToScene(int, qreal)’ 517 | pos = view->mapToGlobal(view->mapFromScene(item->mapToScene(0, item->height())));

/bluecherry-client/src/ui/liveview/LiveFeedItem.cpp:557:62: error: cannot convert ‘QRectF’ to ‘const QPointF&’ 557 QRect itemScreenRect = view->mapFromScene(mapToScene(QRectF(0, 0, width(), height()))).boundingRect(); ^~~~~~~
QRectF
antonsviridenko commented 3 years ago

Please wait for the next release, should be available soon.

budgie05 commented 3 years ago

Thank you for your work antonsviridenko client now builds and runs after the latest commits