View Issue Details

IDProjectCategoryView StatusLast Update
0013102ScribusQt5 Portpublic2015-06-11 00:22
Reporterjlec Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.5.1svn 
Summary0013102: Missing in of <QObject> in scribus/sclayer.cpp
DescriptionPlease 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
TagsNo tags attached.
PatchYes

Activities

jlec

2015-06-01 08:52

reporter  

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)
scribus-1.5.0-QObject.patch (596 bytes)   

Kunda

2015-06-01 21:08

updater   ~0035305

Committed in r20142. Thanks jghali.
Thanks jlec (and thanks for keeping the Gentoo Scribus packages up to date)

Kunda

2015-06-11 00:22

updater   ~0035368

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.

Issue History

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