下载了源码QCFramer-developa.zip
我用的是Qt4.8.6,想编译一下源码。但出错了,没有成功。
D:\Qt\QCFramer\QCFramer-develop>qmake QFramer_4.8.pro
D:\Qt\QCFramer\QCFramer-develop>mingw32-make
出错信息如下:
……
d:\Qt4.8.6\bin\rcc.exe -name QCFramer QCFramer.qrc -o debug\qrc_QCFramer.cpp
g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -fexceptions -mthreads -Wall -
Wextra -DUNICODE -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\Qt4.8.6\include
\QtCore" -I"..\..\..\Qt4.8.6\include\QtGui" -I"..\..\..\Qt4.8.6\include" -I"..\.
.\..\Qt4.8.6\include\ActiveQt" -I"debug" -I"..\..\..\Qt4.8.6\mkspecs\win32-g++-4
.6" -o debug\qrc_QCFramer.o debug\qrc_QCFramer.cpp
mingw32-make[1]: *** No rule to make target 'QFramer.rc', needed by 'debug/QFram
er_res.o'. Stop.
mingw32-make[1]: Leaving directory 'D:/Qt/QCFramer/QCFramer-develop'
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
====================================================================
源文件没有QFramer.rc,也没有任何*.rc文件。
后删除了QFramer_4.8.pro 最后一行RC_FILE = QFramer.rc
再编译,终于成功。