Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Porting to a new platform



  • I realize this question may be too broad for anyone to answer directly, but let's give it a try.
    QtWebEngine is only supported on Linux, Windows and Mac. I'm interested in building it for QNX. This may not be as far fetched as it may sound considering that both Qt 5.15 and Blink work on this platform. I'm looking for some guidelines as to how to get from here to there: given a working copy of Qt 5.15 and a working Blink v80, what are the next steps? Of course, I'll take a properly-justified "this cannot be done" (begrudgingly).

    Thanks,
    --Elad


  • Lifetime Qt Champion

    Hi,

    I would start by editing the configure.pri of QtWebEngine to allow the build to proceed for QNX.

    Are you building blink yourself ?



  • What I have done so far is

    1. Added QNX to configure.pri
    2. Built nss
    3. Built Python2, which is no longer supported on QNX (Python2 reached end of life over a year ago, why is it used by QtWebEngine?)
    4. Removed the check for glibc as a requirement for a UNIX build

    That gets me through the qmake phase.

    From the documentation it seems that QtWebEngine has its own copy of blink. Is that correct? If so, can it use a native version, or is it tied to the built-in one?

    --Elad



  • By the way, there is a bug in the ninja detection function. I have the latest version (1.10), but it is considered as "too old" because qtConfTest_detectNinja checks for the regular expression 1.[7-9].*

    --Elad


  • Lifetime Qt Champion

    @elahav said in Porting to a new platform:

    Built Python2, which is no longer supported on QNX (Python2 reached end of life over a year ago, why is it used by QtWebEngine?)

    Because of chromium which is the underlying tech that QtWebEngine is built on top of.

    @elahav said in Porting to a new platform:

    From the documentation it seems that QtWebEngine has its own copy of blink. Is that correct?

    As noted above, it's built on top of Chromium. I do not know if you can easily rip that part out to use your blink build in place.


Log in to reply