Created attachment 403762 [details, diff] patch to include QtCore/qobject.h app-office-1.5.0 fails to compile (with QT5 headers at least) with /var/tmp/portage/app-office/scribus-1.5.0/work/scribus-1.5.0/scribus/sclayer.cpp:16:17: error: 'QObject' has not been declared Inserting an additional include solves the problem.
build log or it didn't happen ...especially that it's better to make sure the cause of that failure isn't a bit different.
Created attachment 403766 [details] scribus-1.5.0.build.xz
I cannot reproduce it here. What Qt version do you have installed on the system?
@qt, any comment here? I cannot reproduce it.
I also was not able to reproduce, but it does seem there's no direct QObject include (which should look like #include <QObject>).
(In reply to Michael Palimaka (kensington) from comment #5) > I also was not able to reproduce, but it does seem there's no direct QObject > include (which should look like #include <QObject>). So what should we do?
It's safe to add the include, but of course would be better to go upstream.
(In reply to Michael Palimaka (kensington) from comment #7) > It's safe to add the include, but of course would be better to go upstream. Thanks, I will do.
+ 01 Jun 2015; Justin Lecher <jlec@gentoo.org> + +files/scribus-1.5.0-QObject.patch, scribus-1.5.0-r1.ebuild: + Add patch for missing includes, bug #550162 +
Bug has been fixed upstream. See http://bugs.scribus.net/view.php?id=13102 Cheers!