Can';t qmake QtWebengine-“;qtwebenginecore-config.pri:没有这样的文件或目录;

Can';t qmake QtWebengine-“;qtwebenginecore-config.pri:没有这样的文件或目录;,qt,makefile,config,qmake,qtwebengine,Qt,Makefile,Config,Qmake,Qtwebengine,我使用以下配置构建了qt: configure -v -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/doxa/raspi/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -opensource -confirm-license -sysroot /home/doxa/ras

我使用以下配置构建了qt:

configure -v -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/doxa/raspi/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -opensource -confirm-license -sysroot /home/doxa/raspi/sysroot -make libs -nomake tests -nomake tools -nomake examples -skip qt3d -skip qtgamepad -skip qtlocation -skip qtsensors -skip qtwayland -skip qtdeclarative -prefix /usr/local/doxas_5.12.4 -extprefix /usr/local/doxas_5.12.4 -hostprefix /usr/local/doxas_5.12.4 -qpa xcb -no-use-gold-linker
一切都做得很好,但是QtWebengine没有配置。 现在我想构建并安装此模块(我使用Qt 5.7进行了构建和安装),但qmake返回一个错误:

doxa@K43SD:/media/doxa/MCBK/rpi_build/websss$ /media/doxa/MCBK/rpi_build/qtbase/bin/qmake /usr/local/Qt5.12.4/5.12.4/Src/qtwebengine/
Info: creating cache file /media/doxa/MCBK/rpi_build/websss/.qmake.cache
Cannot read /media/doxa/MCBK/rpi_build/websss/src/core/qtwebenginecore-config.pri: No such file or directory
Project ERROR: Could not find feature webengine-v8-snapshot-support.
doxa@K43SD:/media/doxa/MCBK/rpi_build/websss$
*-config.pri在任何模块的源代码中都不可用,必须在模块构建过程中进行构建。我不知道如何生成这个文件。我应该使用Qt的哪些工具

Qt:5.12.4 主机:Ubuntu 18.04_x64


提前谢谢

我刚找到问题所在。

我应该使用安装的源代码外的qmakeqmake

mkdir build_qtwebengine
cd buid_qtwebengine
/path/to/your/cross_compiled_Qt/bin/qmake /path/to/qtwebengine