gpt4 book ai didi

linux - 尝试在 Linux From Scratch 之后制作 QTWebKit 时出错

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:20:33 27 4
gpt4 key购买 nike

我正在尝试安装 Plasma 5 KDE 桌面,所需的依赖项之一是 QtWebkit,当我尝试编译它时出现此错误。

    /sources/kde/qtwebkit-opensource-src-5.9.0-beta3/Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘const JSChar* JSStringGetCharactersPtr(JSStringRef)’:
/sources/kde/qtwebkit-opensource-src-5.9.0-beta3/Source/JavaScriptCore/API/JSStringRef.cpp:86:30: error: invalid conversion from ‘const UChar* {aka const char16_t*}’ to ‘const JSChar* {aka const short unsigned int*}’ [-fpermissive]
return string->characters();
~~~~~~~~~~~~~~~~~~^~
make[2]: *** [Makefile.JavaScriptCore.Target:4848: .obj/API/JSStringRef.o] Error 1
make[2]: Leaving directory '/sources/kde/qtwebkit-opensource-src-5.9.0-beta3/build/Source/JavaScriptCore'
make[1]: *** [Makefile.JavaScriptCore:100: sub-Target-pri-make_first-ordered] Error 2
make[1]: Leaving directory '/sources/kde/qtwebkit-opensource-src-5.9.0-beta3/build/Source/JavaScriptCore'
make: *** [Makefile:96: sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2

我在这里使用的是最新的 qtwebkit 测试版,但在使用最新的稳定版本时出现了同样的错误。如果有人可以提供帮助,将不胜感激谢谢!

最佳答案

今天我找到了一个补丁,已经添加到 BLFS 书中,这解决了我的问题。这是链接: http://www.linuxfromscratch.org/patches/blfs/svn/qtwebkit-5.8.0-icu_59-1.patch

关于linux - 尝试在 Linux From Scratch 之后制作 QTWebKit 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43694375/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com