Title: Linux-SDK fails to build [Print This Page] Author: d3x0r Time: 7/19/2019 03:38 Title: Linux-SDK fails to build There's this patch file...
package/qt5/qt5multimedia/0008-gsttools-videooverlay-Support-overriding-video-win-i.patch:+ QVideoWindowAbstractInterface *intf =
package/qt5/qt5multimedia/0008-gsttools-videooverlay-Support-overriding-video-win-i.patch:+ dynamic_cast<QVideoWindowAbstractInterface *>(window);
package/qt5/qt5multimedia/0011-gsttools-videowidget-Provide-widget-window-id-for-vi.patch:+class QGstreamerVideoWidget : public QWidget, public QVideoWindowAbstractInterface
which adds 'QVideoWindowAbstractInterface ' to qgstreamervideooverlay.cpp in linux-sdk/buildroot/output/rockchip_rk3399/build/qt5multimedia-5.6.3/src/gsttools/ which causes this error
make[4]: *** Waiting for unfinished jobs....
qgstreamervideooverlay.cpp: In function ¡®QWindow* getVideoWindow(WId)¡¯:
qgstreamervideooverlay.cpp:211:5: error: ¡®QVideoWindowAbstractInterface¡¯ was not declared in this scope
QVideoWindowAbstractInterface *intf =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgstreamervideooverlay.cpp:211:36: error: ¡®intf¡¯ was not declared in this scope
QVideoWindowAbstractInterface *intf =
^~~~
qgstreamervideooverlay.cpp:212:22: error: ¡®QVideoWindowAbstractInterface¡¯ does not name a type
dynamic_cast<QVideoWindowAbstractInterface *>(window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgstreamervideooverlay.cpp:212:52: error: expected ¡®>¡¯ before ¡®*¡¯ token
dynamic_cast<QVideoWindowAbstractInterface *>(window);
^
qgstreamervideooverlay.cpp:212:52: error: expected ¡®(¡¯ before ¡®*¡¯ token
qgstreamervideooverlay.cpp:212:53: error: expected primary-expression before ¡®>¡¯ token
dynamic_cast<QVideoWindowAbstractInterface *>(window);
^
qgstreamervideooverlay.cpp:212:62: error: expected ¡®)¡¯ before ¡®;¡¯ token
dynamic_cast<QVideoWindowAbstractInterface *>(window);
^
make[4]: *** [Makefile:1070: .obj/qgstreamervideooverlay.o] Error 1
make[3]: *** [Makefile:150: sub-gsttools-make_first] Error 2
make[2]: *** [Makefile:45: sub-src-make_first] Error 2
make[1]: *** [package/pkg-generic.mk:250: /home/d3x0r/work/arm-dev/linux-sdk/buildroot/output/rockchip_rk3399/build/qt5multimedia-5.6.3/.stamp_built] Error 2
make: *** [/home/d3x0r/work/arm-dev/linux-sdk/buildroot/output/rockchip_rk3399/Makefile:16: _all] Error 2
I've grepped for QVideoWindowAbstractInterface in the entire tree, and can only find the moidifed sources and the patch file.
Author: penguin Time: 7/25/2019 14:25
Please do a `repo sync` first before building.
The Qt version in the up-to-date Buildroot is 5.9.4 , FYI.Author: d3x0r Time: 8/3/2019 12:45
Okay, assuming I didn't, but did subsequently (and periodically) do repo sync after building? How do I fix it?
Repo diff shows 0 differences...
As I was writing that, I realized, maybe you mean 'do it NOW' so I did a sync and got some updates but it's still failing in the same area.
qgstreamervideowidget.cpp:45:1: error: expected class-name before ¡®{¡¯ token
{
^
qgstreamervideowidget.cpp:83:9: error: ¡®WId QGstreamerVideoWidget::videoWinId() const¡¯ marked ¡®override¡¯, but does not override
WId videoWinId() const Q_DECL_OVERRIDE {
^~~~~~~~~~
qgstreamervideooverlay.cpp: In function ¡®QWindow* getVideoWindow(WId)¡¯:
qgstreamervideooverlay.cpp:211:5: error: ¡®QVideoWindowAbstractInterface¡¯ was not declared in this scope
QVideoWindowAbstractInterface *intf =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgstreamervideooverlay.cpp:211:36: error: ¡®intf¡¯ was not declared in this scope
QVideoWindowAbstractInterface *intf =
^~~~
qgstreamervideooverlay.cpp:212:22: error: ¡®QVideoWindowAbstractInterface¡¯ does not name a type
Author: liu_Mrs Time: 6/15/2021 10:51
Hello.Have you solved this problem? I have the same problem.Author: hughsco171 Time: 1/10/2026 00:28
I appreciate your article, it really gave me a new perspective. Free Valid FCP_FSM_AN-7.2 exam discount voucher resources to help you. Wishing you the best of luck in your exam!Author: chrisgr600 Time: 1/15/2026 21:28
I¡¯ve learned many valuable experiences from this article. We¡¯ve made Valid MB-310 exam pdf available free of charge, hoping it enriches your studies.Author: elizabe110 Time: 1/21/2026 18:48
This article is amazing, thank you for sharing it with us! Free Latest visual Operations-Management cert test resources for your exam prep. Best of luck to everyone!Author: alexpri804 Time: 2/7/2026 11:15
I¡¯m really thankful for your article, it¡¯s truly unforgettable. Thanks to the PC-BA-FBA-20 reliable exam voucher system, I got a promotion and a salary increase. Now, I¡¯m making it free for everyone. Wishing you all a swift rise in your careers!
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)