回帖:stringxia:构建的时候会报错这个
Found package configuration file:
E:/Qt_static/lib/cmake/Qt6OpcUa/Qt6OpcUaConfig.cmake
but it set Qt6OpcUa_FOUND to FALSE so package "Qt6OpcUa" is considered to
....... (2024-01-18 11:04)
编译Qt的时候带上类似下面的参数,拿png举例
-DFEATURE_system_libpng=ON
还有如果用strawberry perl的话,有这个问题
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/11
所以默认path里有MinGW的内容,建议删掉下面这个文件
strawberry-perl-5.32.1.1-64bit-portable/perl/bin/pkg-config.bat
并且把下面这个文件夹从path里删掉
strawberry-perl-5.32.1.1-64bit-portable/c/bin