Important: Please read the Qt Code of Conduct -

Problem with Qt5 on pi while applying the qtjsbackend patch

  • Hi,

    I followed steps to build qt5 for raspberry pi as per

    But while applying qtjsbackend patch (git cherry-pick FETCH_HEAD), i am getting bellow errors

    @...~/qt5/qtjsbackend$ git cherry-pick FETCH_HEAD
    error: 'cherry-pick' is not possible because you have unmerged files.
    hint: Fix them up in the work tree,
    hint: and then use 'git add/rm <file>' as
    hint: appropriate to mark resolution and make a commit,
    hint: or use 'git commit -a'.
    fatal: cherry-pick failed@

    Also when i run git status
    git status
    @# On branch stable

    Changes to be committed:

    new file: config.tests/vfp2/vfp2.cpp

    new file: config.tests/vfp2/

    new file: config.tests/vfp3/vfp3.cpp

    new file: config.tests/vfp3/


    modified: src/3rdparty/v8/src/arm/

    modified: src/v8/v8.pri

    modified: sync.profile

    Unmerged paths:

    (use "git add/rm <file>..." as appropriate to mark resolution)

    both modified: src/3rdparty/v8/src/arm/

    both modified: src/3rdparty/v8/src/arm/

    both modified: src/3rdparty/v8/src/v8globals.h


    Did any one face this problem?

    Is this means, this patch is already included in the git?

    Any help on this is much appreciated.

  • it means:

    bq. you have unmerged files

    simply commit the changes. merge it or patch it manually from console...

  • Hey Vimal have you been able to solve this. I am getting the same error.

  • To all concerned, do not run the patch. All changes have been committed to the main branch already. Qt5 will now compile on the Raspberry Pi without the need for patching as shown here: "":

Log in to reply