Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Compiling Qt WebKit with qt 5.12.0 failed
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt WebKit with qt 5.12.0 failed

Scheduled Pinned Locked Moved Solved Qt WebKit
10 Posts 4 Posters 2.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msauer75
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Where did you the QtWebKit sources from ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        msauer75
        wrote on last edited by
        #3

        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.212

        BR
        martin

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          Your issue is caused by mismatch between ICU headers and libraries. How do you build QtWebKit?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            msauer75
            wrote on last edited by msauer75
            #5

            Hi,
            I downloaded the sources with git and create a build directory. Inside the build dir I called

            ccmake -DCMAKE_PREFIX_PATH=/opt/Qt/5.12.0/gcc_64 ../.

            I want upload the cmakecache.txt file, but I can't

            BR
            martin

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Konstantin Tokarev
              wrote on last edited by
              #6

              Please use -DQt5_DIR instead of -DCMAKE_PREFIX_PATH to specify Qt path, as described in wiki. Use fresh build

              1 Reply Last reply
              1
              • M Offline
                M Offline
                msauer75
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Konstantin Tokarev
                  wrote on last edited by
                  #8

                  CMAKE_PREFIX_PATH causes cmake to pick ICU libraries from Qt SDK while using system ICU headers (which have different version)

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    msauer75
                    wrote on last edited by
                    #9

                    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

                    K 1 Reply Last reply
                    0
                    • M msauer75

                      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

                      K Offline
                      K Offline
                      Konstantin Tokarev
                      wrote on last edited by
                      #10

                      @msauer75 You have to rebuild digikam with new Qt and QtWebKit libs that you are using

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved