[scribus-dev] Make error with r18479

"Christoph Schäfer" christoph-schaefer at gmx.de
Tue Sep 17 04:48:36 UTC 2013


> Gesendet: Montag, 16. September 2013 um 12:47 Uhr
> Von: "Andreas Vox" <avox at arcor.de>
> An: "Scribus Development Mailing List" <scribus-dev at lists.scribus.net>
> Betreff: Re: [scribus-dev] Make error with r18479
>
> 
> 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);
> 
> 
> Does that help?
> 
> /Andreas
> 

Hi Andreas,

The OS is Linux (OpenSUSE 12.1) with Qt 5.1.1 installed via the installer from the Qt Project. CMake has been built manually from source. Compiler is gcc 4.6.2.

Building Scribus should at the very least work with a Vanilla version of Qt, shouldn't it?

Thanks for the hint. I'll try this.


Christoph



More information about the scribus-dev mailing list