openKylin论坛

 找回密码

求助:QT5.12.12静态编译环境 [复制链接]

银河麒麟V10,需要搭建一个QT5.12.12静态编译环境。下载qt-everywhere-src-5.12.12.tar,执行./configure -static -release  -qt-zlib -qt-libpng -qt-libjpeg -nomake examples -nomake tests -no-opengl -prefix /usr/local/Qt5.12.12_static -skip qttools -skip qtsensors -skip qtconnectivity -skip qtserialport -skip qtmultimedia 没见异常,make后出错:错误一  ../../3rdparty/zlib/src/infback.c: In function ‘z_inflateBack’:../../3rdparty/zlib/src/infback.c:479:25: warning: this statement may fall through [-Wimplicit-fallthrough=]      
错误二  ../../3rdparty/zlib/src/inflate.c: In function ‘z_inflate’:
../../3rdparty/zlib/src/inflate.c:742:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
错误三  access/qnetworkaccessdebugpipebackend_p.h:0: Note: No relevant classes found. No output generated.
painting/qplatformbackingstore.h:0: Note: No relevant classes found. No output generated.
qvkconvenience.cpp: In static member function ‘static VkFormat QVkConvenience::vkFormatFromGlFormat(uint)’:
qvkconvenience.cpp:56:22: error: ‘QOpenGLTexture’ does not name a type
   56 |     using GlFormat = QOpenGLTexture::TextureFormat;
      |                      ^~~~~~~~~~~~~~

请大神赐教,谢谢!!!


楼主
发表于 2024-1-25 10:57:34
回复

使用道具 举报

openKylin

GMT+8, 2024-5-15 16:57 , Processed in 0.015807 second(s), 17 queries , Gzip On.

Copyright ©2022 openKylin. All Rights Reserved .

ICP No. 15002470-12 Tianjin

快速回复 返回顶部 返回列表