回复: QT5.15.2 编译qwebengine 支持mp4 求助![已解决]
#26 回 lixinwei 的帖子 [fsu0413 02-05 06:56]
lixinwei:没有办法随心所欲地设置安装路径,但是有变通的办法
如:
nmake install INSTALL_ROOT=\temp假设你的Qt安装目录是D:\Qt\5.15.2\msvc2019,用这个命令可以安装到D:\temp\Qt\5.15.2\msvc2019,后续可以根据需要剪切到其他目录,这样就不会覆盖已有的文件了
....... (2021-02-04 20:16)
configure的时候设置prefix。。。。???
#27 回 fsu0413 的帖子 [lixinwei 02-05 19:23]
fsu0413:configure的时候设置prefix。。。。???
(2021-02-05 06:56)
如果编译整个Qt或者qtbase,可以设置prefix;但是如果单独编译qtbase以外的模块,如单独编译qtwebengine,是无法设置prefix的,但是可以用上述方法先把需要安装的文件安装到其他位置,以避免安装的时候已有的Qt5WebEngineCore.dll等文件被直接覆盖
#28 回 lixinwei 的帖子 [fsu0413 02-06 10:52]
lixinwei:如果编译整个Qt或者qtbase,可以设置prefix;但是如果单独编译qtbase以外的模块,如单独编译qtwebengine,是无法设置prefix的,但是可以用上述方法先把需要安装的文件安装到其他位置,以避免安装的时候已有的Qt5WebEngineCore.dll等文件被直接覆盖 (2021-02-05 19:23)
好吧。。。。看来我基本没单独编译过模块,我都是全编译的
#29 [richards 05-31 16:51]
多谢楼主了cef 能把mp4支持编译 且共享出来的好难找啊
#30 [liaohanghua 06-11 18:30]
请问下大家,这个警告是什么问题。
Running configuration tests...
Checking for architecture supported... yes
Checking for bison... yes
Checking for submodule initialized... yes
Checking for build path without whitespace... yes
Checking for platform supported...
Checking for gperf... yes
Checking for flex... yes
Checking for python2... C:/Python27/python.exe
Checking for 64bit compiler... no
Checking for jumbo build merge limit... 0
Checking for winversion... yes
Checking for d-bus... no
Checking for fontconfig... no
Checking for libdrm... no
Checking for system ninja... 此时不应有 \Microsoft。
no
Checking for xcomposite... no
Checking for xcursor... no
Checking for xi... no
Checking for xtst... no
Done running configuration tests.
Configure summary:
Qt WebEngine Build Tools:
Use System Ninja ....................... no
Use System Gn .......................... no
Jumbo Build Merge Limit ................ no
Developer build ........................ no
Sanitizer .............................. no
Qt PDF:
Support V8 ............................. no
Support XFA ............................ no
Support XFA-BMP ........................ no
Support XFA-GIF ........................ no
Support XFA-PNG ........................ no
Support XFA-TIFF ....................... no
Qt PDF Widgets:
Support Qt PDF Widgets ................. yes
Note: The following modules are not being compiled in this configuration:
webenginecore
webengine
webenginewidgets
WARNING: 64-bit cross-building or native toolchain required to build QtWebEngine could not be found.
WARNING: QtWebEngine will not be built.
Qt is now configured for building. Just run 'nmake'.
Once everything is built, you must run 'nmake install'.
Qt will be installed into 'D:\Qt\ ..