[scribus] Compile error SVN - Rev 24733

Owen rcook at pcug.org.au
Tue Oct 5 02:28:13 UTC 2021


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





Owen



More information about the scribus mailing list