Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59172 - [obs-studio] Building against Qt 5.11.1 breaks due to missing #include <QAction> in scriptscpp

Attached to Project: Community Packages
Opened by Andreas Baumann (andreas_baumann) - Thursday, 28 June 2018, 13:33 GMT
Last edited by Jonathan Steel (jsteel) - Wednesday, 04 July 2018, 16:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/data/INSTALL/obs-studio/src/obs-studio-21.1.1/UI/frontend-plugins/frontend-tools/scripts.cpp: In function ‘void InitScripts()’:
/data/INSTALL/obs-studio/src/obs-studio-21.1.1/UI/frontend-plugins/frontend-tools/scripts.cpp:551:8: error: invalid use of incomplete type ‘class QAction’
action->connect(action, &QAction::triggered, cb);
^~
In file included from /usr/include/qt/QtWidgets/QWidget:1,
from /data/INSTALL/obs-studio/src/obs-studio-21.1.1/UI/frontend-plugins/frontend-tools/scripts.hpp:1,
from /data/INSTALL/obs-studio/src/obs-studio-21.1.1/UI/frontend-plugins/frontend-tools/scripts.cpp:1:
/usr/include/qt/QtWidgets/qwidget.h:68:7: note: forward declaration of ‘class QAction’
class QAction;
^~~~~~~
/data/INSTALL/obs-studio/src/obs-studio-21.1.1/UI/frontend-plugins/frontend-tools/scripts.cpp:551:36: error: incomplete type ‘QAction’ used in nested name specifier
action->connect(action, &QAction::triggered, cb);
^~~~~~~~~
make[2]: *** [UI/frontend-plugins/frontend-tools/CMakeFiles/frontend-tools.dir/build.make:153: UI/frontend-plugins/frontend-tools/CMakeFiles/frontend-tools.dir/scripts.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:847: UI/frontend-plugins/frontend-tools/CMakeFiles/frontend-tools.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

The bug is fixed in git master, commit https://github.com/obsproject/obs-studio/commit/4fd06b9825465ae5eb2a9b862cdb89098f655f14

package version(s): 21.1.1-2

Steps to reproduce:

makepkg -s
This task depends upon

Closed by  Jonathan Steel (jsteel)
Wednesday, 04 July 2018, 16:44 GMT
Reason for closing:  Fixed

Loading...