[opensuse-packaging] Need help with qt related build failures.
Hi, I've been overwhelmed with build failures, gcc8, boost-python and strange gstreamer error (all fixed). The gcc8 ones are easy enough but I'm a bit stuck on the qt5 errors. Can someone please have a look at : https://build.opensuse.org/package/show/home:plater/qtractor and https://build.opensuse.org/package/show/home:plater/shotcut I'm assuming they are caused by a qt5 update. The non qt problems I've managed to fix. Thanks Dave -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On pondělí 18. června 2018 13:58:40 CEST Dave Plater wrote:
Hi, I've been overwhelmed with build failures, gcc8, boost-python and strange gstreamer error (all fixed). The gcc8 ones are easy enough but I'm a bit stuck on the qt5 errors. Can someone please have a look at : https://build.opensuse.org/package/show/home:plater/qtractor and https://build.opensuse.org/package/show/home:plater/shotcut I'm assuming they are caused by a qt5 update. The non qt problems I've managed to fix.
Hi. In Qt 5.11 they cleaned up lot of their header files, so some files that used to be included indirectly are no longer included and have to be added explicitly. In both cases you need to add: #include <QAction> In shotcut to src/docks/recentdock.cpp and in qtractor to to src/ qtractorMeter.cpp. Both files are using the QAction class, but do not include it. You may need to add more includes to more places if it fails somewhere else. Michal -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 18/06/18 14:31, Michal Srb wrote:
On pondělí 18. června 2018 13:58:40 CEST Dave Plater wrote:
Hi, I've been overwhelmed with build failures, gcc8, boost-python and strange gstreamer error (all fixed). The gcc8 ones are easy enough but I'm a bit stuck on the qt5 errors. Can someone please have a look at : https://build.opensuse.org/package/show/home:plater/qtractor and https://build.opensuse.org/package/show/home:plater/shotcut I'm assuming they are caused by a qt5 update. The non qt problems I've managed to fix.
Hi.
In Qt 5.11 they cleaned up lot of their header files, so some files that used to be included indirectly are no longer included and have to be added explicitly.
In both cases you need to add:
#include <QAction>
In shotcut to src/docks/recentdock.cpp and in qtractor to to src/ qtractorMeter.cpp. Both files are using the QAction class, but do not include it.
You may need to add more includes to more places if it fails somewhere else.
Michal
Thanks Michal. Dave -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Dave Plater
-
Michal Srb