[scribus] Compile error SVN - Rev 24733
Craig Bradney
cbradney at scribus.info
Tue Oct 5 20:28:13 UTC 2021
> On 5 Oct 2021, at 10:31 am, Owen <rcook at pcug.org.au> wrote:
>
> On 2021-10-05 18:06, Craig Bradney wrote:
>>> 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?
>
>
>
>
> Hi Craig,
>
>
> Qt version 5.15.1.
>
> BUILDING wants > 5.14
>
>
> Thanks
>
> —
Hi Owen
I’ve reverted the changes with QStringView and tested a build against 5.14.
Qt6 minimum is now 6.2 for 1.7.x development
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20211005/bf21ef6f/attachment.htm>
More information about the scribus
mailing list