The procedure entry point could not be located in qtcore4.dll
我有一个很简单的QT小程序,在QT creator2.4.1里编译运行都很正常,所以我想在命令行运行它,出现一个错误:
The program can't start because QTCored4.dll is missing from your computer. Try reinstalling the ptogram to fix this problem.
搜索了一下,在QT creator根本没有QTCored4.dll,在网上找了一下,说是QTCored4.dll是QTCore4.dll的调试版本,所以我将QTCore4.dll拷贝到目标目录,重命名到QTCored4.dll,重新运行,这次出现如下错误:
The procedure entry point _Z13qFlagLocationPKc could not be located in the dynamic link library QtCored4.dll.
我换成release版本,将QTCore4.dll再次拷贝到目标目录,这次出现如下错误:
The procedure entry point _Z5qFreePv could not be located in the dynamic link library QtCored4.dll.
将QtGui4.dll拷贝到目标目录,还是出现上述错误。
请问如何解决上述问题?
QT Creator 版本:
Qt Creator 2.4.1 Based on Qt 4.7.4 (32 bit)
环境: Windows 7 64 bit