[scribus-dev] Make error with r18479

Owen rcook at pcug.org.au
Thu Sep 26 03:55:24 UTC 2013


On Mon, 16 Sep 2013 12:47:19 +0200
Andreas Vox <avox at arcor.de> wrote:

> 
> Am 15.09.2013 um 23:57 schrieb Christoph Schäfer:
> 
> > Hi,
> > 
> > make fails with r18479:
> > 
> > /home/christoph/scribus15/Scribus/scribus/scribusdoc.cpp: In member
> > function ‘bool
> > ScribusDoc::updateLocalNums(StoryText&)’: /home/christoph/scribus15/Scribus/scribus/scribusdoc.cpp:17014:77:
> > error: converting to ‘QChar’ from initializer list would use
> > explicit constructor ‘QChar::QChar(char)’ make[2]: ***
> > [scribus/CMakeFiles/scribus.dir/scribusdoc.cpp.o] Fehler 1 make[1]:
> > *** [scribus/CMakeFiles/scribus.dir/all] Fehler 2 make: *** [all]
> > Fehler 2
> > 
> > 
> > Qt 5.1.1, CMake 2.8.11
> > 
> 
> Hi Christoph!
> 
> What OS and compiler are you using? 
> Did you compile Qt yourself? Your version of Qt wants explicit char
> -> QChar conversions. In this case you should change
> numerations.h:55-57
> 
> 	const QString getStringFromNum(NumFormat format, int num,
> const QChar leadingChar = QChar('0'), const int
> charsLen=0); //convert passed num to string with custom chars const
> QString getAsterixStringFromNum(int num, QString asterix, const QChar
> leadingChar = QChar('_'), const int charsLen=0);



OK, thanks, got me past that error, but failed later on, a poppler
error of some description.

====================================================
/home/owen/Downloads/Scribus150/scribus/plugins/import/pdf/importpdf.cpp:912:24:note:
candidate is: 

/usr/include/poppler/SplashOutputDev.h:348:8: note: void
SplashOutputDev::startDoc(XRef*) 

/usr/include/poppler/SplashOutputDev.h:348:8: note:   no known
conversion for argument 1 from ‘PDFDoc*’ to ‘XRef*’

make[2]: ***
[scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o]
Error 1 make[1]: ***
[scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/all] Error 2 make:
*** [all] Error 2
====================================================


I am confounded as to why 150 builds ok on some distros and not others
-- 
Owen



More information about the scribus-dev mailing list