View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013102 | Scribus | Qt5 Port | public | 2015-06-01 08:52 | 2015-06-11 00:22 |
Reporter | jlec | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.5.1svn | ||||
Summary | 0013102: Missing in of <QObject> in scribus/sclayer.cpp | ||||
Description | Please see the downstream report for informations https://bugs.gentoo.org/show_bug.cgi?id=550162. /var/tmp/portage/app-office/scribus-1.5.0/work/scribus-1.5.0/scribus/sclayer.cpp: In constructor 'ScLayer::ScLayer()': /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 Name = QObject::tr("New Layer"); ^ /var/tmp/portage/app-office/scribus-1.5.0/work/scribus-1.5.0/scribus/sclayer.cpp: In member function 'ScLayer* ScLayers::newLayer(const QString&)': /var/tmp/portage/app-office/scribus-1.5.0/work/scribus-1.5.0/scribus/sclayer.cpp:391:11: error: 'QObject' has not been declared lname = QObject::tr("New Layer")+" "+tmp.setNum(lId); ^ scribus/CMakeFiles/scribus.dir/build.make:12658: recipe for target 'scribus/CMakeFiles/scribus.dir/sclayer.cpp.o' failed make[2]: *** [scribus/CMakeFiles/scribus.dir/sclayer.cpp.o] Error 1 | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
|
scribus-1.5.0-QObject.patch (596 bytes)
scribus/sclayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scribus/sclayer.cpp b/scribus/sclayer.cpp index 502112b..4da7bd5 100644 --- a/scribus/sclayer.cpp +++ b/scribus/sclayer.cpp @@ -9,6 +9,7 @@ for which a new license (GPL+exception) is in place. #include <QHash> //necessary to avoid msvc warnings induced by SCRIBUS_API on ScLayers + early instanciation of templates #include <QVector> //necessary to avoid msvc warnings induced by SCRIBUS_API on ScLayers + early instanciation of templates +#include <QObject> #include <QtAlgorithms> ScLayer::ScLayer(void) |
|
Committed in r20142. Thanks jghali. Thanks jlec (and thanks for keeping the Gentoo Scribus packages up to date) |
|
Bug has been resolved. Downstream bug report has been updated to reflect this. See https://bugs.gentoo.org/show_bug.cgi?id=550162#c10 Closing. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-01 08:52 | jlec | New Issue | |
2015-06-01 08:52 | jlec | File Added: scribus-1.5.0-QObject.patch | |
2015-06-01 20:41 | jghali | Status | new => resolved |
2015-06-01 20:41 | jghali | Fixed in Version | => 1.5.1svn |
2015-06-01 20:41 | jghali | Resolution | open => fixed |
2015-06-01 20:41 | jghali | Assigned To | => jghali |
2015-06-01 21:08 | Kunda | Note Added: 0035305 | |
2015-06-11 00:22 | Kunda | Note Added: 0035368 | |
2015-06-11 00:22 | Kunda | Status | resolved => closed |