Created attachment 530304 [details, diff] smplayer-qt-5.11-qaction.patch Missing header QAction in src/videopreview/videopreview.cpp. There's a bunch of errors similar to the following, but the fix (attached, needs review from a dev and filed upstream) is simple. make[1]: Leaving directory '/tmp/portage/media-video/smplayer-18.4.0/work/smplayer-18.4.0/webserver' videopreview/videopreview.cpp: In constructor 'VideoPreview::VideoPreview(QString, QWidget*)': videopreview/videopreview.cpp:154:34: error: invalid use of incomplete type 'class QAction' toggleInfoAct = new QAction(this); ^ In file included from /include/qt5/QtWidgets/QWidget:1:0, from videopreview/videopreview.h:22, from videopreview/videopreview.cpp:19: /include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction' class QAction; ^~~~~~~ videopreview/videopreview.cpp:155:15: error: invalid use of incomplete type 'class QAction' toggleInfoAct->setCheckable(true); ^~ In file included from /include/qt5/QtWidgets/QWidget:1:0, from videopreview/videopreview.h:22, from videopreview/videopreview.cpp:19: /include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
upstream patch: https://app.assembla.com/spaces/smplayer/subversion/commits/9014 Does the include later.
The patch fixes the issue on my side, thanks for the hint.
Recently released 18.5.0 version fixed this for me.
Indeed, this is fixed now. Thanks for your report!
*** Bug 659426 has been marked as a duplicate of this bug. ***
*** Bug 662312 has been marked as a duplicate of this bug. ***