你試下這樣做:
要编译自己的程序时,在程序目录下面执行:
make clean
qmake -config release
然后打开程序目录内的makefile.release文件,找到“ LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -static -Wl,-s -Wl -mthreads -Wl, -subsystem,windows” 删除其中的”-mthreads”
再在程序目录下面执行:
make