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)

Comments

This file INSTALL cannot find "//QtWebEngineProcess, that double /, may indicate that some variable (between the slashes) expands to nothing?
Not sure how or whther this does relate to #280651: 3.0 does not compile, but it does indeed look like it

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.

if you change that line in build/FindQT5.cmake to
find_program(QT_MAKE_EXECUTABLE qmake-qt5)
then it finds the right one when you have both qt4 and qt5 installed. This allows you to build with webengine on
the issue only presents when you have both installed.