Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668760

Summary: media-video/shotcut-18.03 build fails: invalid use of incomplete type 'class QAction'
Product: Gentoo Linux Reporter: Joe Sapp (RETIRED) <nixphoeni>
Component: Current packagesAssignee: Dmitriy Baranov <reagentoo>
Status: RESOLVED FIXED    
Severity: normal CC: me, phobosk, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653646, 663722    
Attachments: build log

Description Joe Sapp (RETIRED) gentoo-dev 2018-10-16 01:35:03 UTC
Created attachment 551426 [details]
build log

When building media-video/shotcut-18.03, I get the error:

docks/recentdock.cpp: In constructor 'RecentDock::RecentDock(QWidget*)':
docks/recentdock.cpp:36:23: error: invalid use of incomplete type 'class QAction'
     toggleViewAction()->setIcon(windowIcon());
                       ^~
In file included from /usr/include/qt5/QtWidgets/qdockwidget.h:44,
                 from /usr/include/qt5/QtWidgets/QDockWidget:1,
                 from ./docks/recentdock.h:22,
                 from docks/recentdock.cpp:19:
/usr/include/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
 class QAction;
       ^~~~~~~
make[1]: *** [Makefile:2454: recentdock.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/media-video/shotcut-18.03/work/shotcut-18.03/src'
make: *** [Makefile:98: sub-src-make_first] Error 2

This is resolved in version 18.10.08.