所以我做了一个使用Qt Creator(Windows)的程序,然后编译并运行它。它运行罚款我的电脑上,但是当我把它发送给我的一个朋友,他得到这些错误:编译独立的exe问题
The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.
The program can't start because mingwm10.dll is missing from your computer. Try reinstalling the program to fix this problem.
我能做些什么的基本上是独立的EXE,所以我可以在任何地方发送exe文件,并且能够无误地运行它。
好吧,我这样做了,但是当运行'mingw32-make sub-src'时,出现以下错误。 http://chiggins.pastebin.com/h0hQXYTN – Chiggins 2010-07-12 19:55:37
这里指出它是一个bug: http://www.qtcentre.org/threads/31684-Problems-creating-Qt-4.6.3-static -with-MinGw,所以你可以用-no-qt3support来试用4.7版本。 – 2010-07-12 21:19:21