静态编译 static qtwebkit-5.212.0 时出现一下错误的解决方法
Cannot open D:\Qt\Qt5.9.9\5.9.9\mingw53_32_static\lib\libQt5Core.prl: No such file or directory at D:/MSYS/build/qtwebkit-5.212.0-alpha2/Tools/qt/convert-prl-libs-to-cmake.pl line 57. 错误原因: Qt5 静态编译后lib目录下的实际名字是 Qt5Core.prl, 不是 libQt5Core.prl; 解决方法: 把Qt5Core.prl文件拷贝到libQt5Core.prl; copy Qt5Core.prl libQt5Core.prl copy Qt5Gui.prl libQt5Gui.prl copy Qt5Network.prl libQt5Network.prl copy Qt5Widgets.prl libQt5Widgets.prl copy Qt5Positioning.prl libQt5Positioning.prl copy Qt5Sensors.prl libQt5Sensors.prl copy Qt5PrintSupport.prl libQt5PrintSupport.prl copy Qt5Quick.prl libQt5Quick.prl copy Qt5WebChannel.prl libQt5WebChannel.prl copy Qt5OpenGL.prl libQt5OpenGL.prl