qt5.15 mingw 编译

1.添加mingw的bin路径到环境变量path ,也可以临时添加 $Env:path="$Env:path;C:\mingw810_64\bin",这里我的路径是C:\mingw810_64\bin 2.确认添加成功,可用g++ -v 或者 gcc -v确认 3.配置 ./configure -release -opensource -prefix "C:/Qt5.15.8-minGW64_8.1.0" -platform win32-g++ -opengl desktop -skip qtwebengine -nomake tests ./configure -debug-and-release -opensource -prefix "C:/Qt5.15.8-minGW64_8.1.0" -platform win32-g++ -nomake examples -opengl desktop -skip qtwebengine -nomake tests 4.mingw32-make 5.mingw32-make install
posted @ 2023-02-17 14:58  ccc_zdh  阅读(83)  评论(0)    收藏  举报