[scribus] Compile error SVN - Rev 24733

Craig Bradney cbradney at scribus.info
Tue Oct 5 07:06:28 UTC 2021



> On 5 Oct 2021, at 04:30, Owen <rcook at pcug.org.au> 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?

Thanks
Craig



More information about the scribus mailing list