Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54307

QtWebkit Compilation for QNX missing lpthread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.6, 5.7.0, 5.8.0, 5.9.1
    • WebKit
    • None
    • Linux Mint 17.1 32 bits

      Linux Mint 18.2 64 bits

      QNX 6.6 armv7

    Description

      QtWebkit is no more included by default on QT but you can download it and (with GIT) check it out to the proper version, then add it manualy to the Qt sources, but there is an issue during compilation for QNX 6.6 armv7 (works already on linux)

      The QtWebKit make fail because it cannot find lpthread. One solution is to to remove "-lpthread" it manually from three generated makefiles:
      <buildFolder>/qtwebkit/Source/JavaScriptCore/Makefile.LLIntOffsetsExtractor (5.7, 5.8.0, 5.9.1)
      <buildFolder>/qtwebkit/Source/JavaScriptCore/Makefile.jsc (5.7, 5.8.0, 5.9.1)
      <buildFolder>/qtwebkit/Source/Makefile.api (5.6, 5.7, 5.8.0, 5.9.1)

      The compilation then works because, pthread is include in the libc on QNX and there is no separate pthread library.

      After that the QtWebkit module works fine on QtCreator and on the armv7 QNX i.MX6 target where it allow to display HTML pages, via widget only (not QML).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            julien Julien Bordes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes