Problem compiling snap of Musescore 3.0 with BUILD_WEBENGINE=On

• Jan 6, 2019 - 18:27

Hi! I'm one of the maintainers of the Musescore snap and I've been trying to create a 3.0 version of it, but I'm hitting a compilation problem (this is the snapcraft.yml that I'm using:… )

When I try to create the snap from it in Launchpad, I get an error like this one:
-- Installing: /build/musescore/parts/musescore/install/usr/share/mime/packages/musescore.xml
CMake Error at mscore/cmake_install.cmake:41 (file):
file INSTALL cannot find "//QtWebEngineProcess".
Call Stack (most recent call first):
cmake_install.cmake:63 (include)

make[1]: *** [install/strip] Error 1
make: *** [install] Error 2
Makefile:128: recipe for target 'install/strip' failed
make[1]: Leaving directory '/build/musescore/parts/musescore/build/build.release'
Makefile:138: recipe for target 'install' failed
make PREFIX=/usr UPDATE_CACHE=FALSE install DESTDIR=/build/musescore/parts/musescore/install
Failed to run 'make PREFIX=/usr UPDATE_CACHE=FALSE install DESTDIR=/build/musescore/parts/musescore/install' for 'musescore': Exited with code 2.

(Full log here:…)

QtWebEngineProcess should be there, as I'm including the libqt5webenginecore5 package:… , so I guess that the path gets corrupted somehow...Could this be related to this other bug ?

I've also tried to build it with BUILD_WEBENGINE=off, and then it works OK, so I've uploaded it to the edge channel.


Could you please post here an output of qmake -query in your build environment? In order to build MuseScore correctly you should have a qmake binary in your PATH which knows the correct Qt directories for the used Qt installation. The relevant qmake variable for QtWebEngineProcess searching should be QT_INSTALL_LIBEXECS.

Do you still have an unanswered question? Please log in first to post your question.