Re: Compile error SVN - Rev 24733

Owen <rcook-iMDvLBO0GCq6c6uEtOJ/[email protected]> Tue, 05 Oct 2021 19:31:01 +1100
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
On 2021-10-05 18:06, Craig Bradney wrote:
>> On 5 Oct 2021, at 04:30, Owen <[email protected]> wrote:
>> 
>> Hi,
>> 
>> Any suggestions?
>> 
>> /Data/scribus15/scribus/sccolor.cpp: In member function ‘void
>> ScColor::setNamedColor(QString)’:
>> /Data/scribus15/scribus/sccolor.cpp:371:34: error: ‘class QStringView’
>> has no member named ‘toInt’ 371 |   int c =
>> colorNameView.mid(1,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:372:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 372 |   int m =
>> colorNameView.mid(3,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:373:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 373 |   int y =
>> colorNameView.mid(5,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:374:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 374 |   int k =
>> colorNameView.mid(7,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:379:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 379 |   int r =
>> colorNameView.mid(1,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:380:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 380 |   int g =
>> colorNameView.mid(3,2).toInt(&ok, 16); |
>>  ^~~~~ /Data/scribus15/scribus/sccolor.cpp:381:34: error: ‘class
>> QStringView’ has no member named ‘toInt’ 381 |   int b =
>> colorNameView.mid(5,2).toInt(&ok, 16); |
>>  ^~~~~ make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:1694:
>> scribus/CMakeFiles/scribus.dir/sccolor.cpp.o] Error 1 make[1]: ***
>> [CMakeFiles/Makefile2:2431: scribus/CMakeFiles/scribus.dir/all] Error 
>> 2
>> make: *** [Makefile:152: all] Error 2
>> 
>> 
> 
> What version of Qt do you have Owen?




Hi Craig,


Qt version 5.15.1.

BUILDING wants > 5.14


Thanks

-- 

Owen

___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net