Solved Compiling Qt WebKit with qt 5.12.0 failed
-
Hello,
I wan't to compile QtWebKit on my linuxmint 19 system with QT 5.12.0 but I only get the error message[ 22%] Linking CXX executable ../../../bin/testb3 ../../../lib/libJavaScriptCore.a(../../../lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/parser/Lexer.cpp.o):Lexer.cpp:function JSC::isNonLatin1IdentStart(char16_t): Fehler: undefined reference to 'u_charType_60' ../../../lib/libJavaScriptCore.a(../../../lib/../Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/parser/Lexer.cpp.o):Lexer.cpp:function JSC::isNonLatin1IdentPart(int): Fehler: undefined reference to 'u_charType_60'
Can you tell me, what is wrong and what I have to do that I can compile the QtWebKit.
Tahnk you for your help.br
martin -
Hi,
Where did you the QtWebKit sources from ?
-
Hi,
I did a git clone from[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/qt/qtwebkit.git
fetch = +refs/heads/:refs/remotes/origin/
[branch "5.212"]
remote = origin
merge = refs/heads/5.212BR
martin -
Your issue is caused by mismatch between ICU headers and libraries. How do you build QtWebKit?
-
Hi,
I downloaded the sources with git and create a build directory. Inside the build dir I calledccmake -DCMAKE_PREFIX_PATH=/opt/Qt/5.12.0/gcc_64 ../.
I want upload the cmakecache.txt file, but I can't
BR
martin -
Please use -DQt5_DIR instead of -DCMAKE_PREFIX_PATH to specify Qt path, as described in wiki. Use fresh build
-
Hi,
thank you for your help. This works.
I'm newbie to compiling this one, so what is the different between the two invocations?br
martin -
CMAKE_PREFIX_PATH causes cmake to pick ICU libraries from Qt SDK while using system ICU headers (which have different version)
-
Hi,
from git I get the version 5.212.0. After the compilation I will get a incorrect version error from cmake in digikam. I should use the exact version 5.12.x.
Is ther an error in the git sources or did I a mistake?BR
martin -
@msauer75 You have to rebuild digikam with new Qt and QtWebKit libs that you are using