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

Qt5.12.11 cross compilation Issue



  • Hi Fellow Devs,

    I am trying to set up a new environment for cross compiling Qt5.12.11.
    This is my setup:

    When I run:

    ./configure -release -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
    

    I get these warnings:

    WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
    
    WARNING: gperf is required to build QtWebEngine.
    
    WARNING: bison is required to build QtWebEngine.
    
    WARNING: flex is required to build QtWebEngine.
    
    WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine.
    

    However I have these versions installed:
    dd000451-3df0-4a89-b9a6-c9d6cf63e4e6-image.png

    And as for "WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine" any ideas welcome!

    I should mention that this was a fresh install of Ubuntu on a VM.

    Am I missing something?

    Help would be most appreciated.

    Many thanks



  • Hi

    Just an update from my side...

    I seemed to resolve the following myself by removing and reinstalling:

    WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
    
    WARNING: gperf is required to build QtWebEngine.
    
    WARNING: bison is required to build QtWebEngine.
    
    WARNING: flex is required to build QtWebEngine.
    

    However I still get:

    WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine.

    And

    WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

    I have the following installed:

    clang
    libclang-dev
    llvm

    And set the environment variable LLVM_INSTALL_DIR to where llvm resides.

    llmv is v10.

    Progress but not quite there, I'm a bit stuck.

    Any help would be appreciated.