我的環境:錯誤「缺少分隔符」在建QWT-6.1
QT: Qt_5_0_2
QWT: qwt-6.1-rc3
MinGW: mingw47_32
OS: win7_32
我跟進出臺文件「安裝」的步驟:
C) Win32/MinGW
Check that your Qt version has been built with MinGW - not with MSVC !
Start a Shell, where Qt4 is initialized. (F.e. with
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt").
Check if you can execute "make" or something like "mingw32-make".
qmake qwt.pro
make
make install
我得到了錯誤的一步「令「:
C:\qwt-6.1-rc3>qmake qwt.pro
C:\qwt-6.1-rc3>mingw32-make
cd src\ && (if not exist Makefile E:\Qt\5.0.2\5.0.2\mingw47_32\bin\qmake.exe C:
\qwt-6.1-rc3\src\src.pro -o Makefile) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/qwt-6.1-rc3/src'
mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory 'C:/qwt-6.1-rc3/src'
Makefile.Release:305: *** missing separator. Stop.
mingw32-make[2]: Leaving directory 'C:/qwt-6.1-rc3/src'
Makefile:40: recipe for target 'release-all' failed
mingw32-make[1]: *** [release-all] Error 2
mingw32-make[1]: Leaving directory 'C:/qwt-6.1-rc3/src'
makefile:44: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make: *** [sub-src-make_first-ordered] Error 2
線條304,305在 」Makefile.Release「 是:
304 qmake: FORCE
305 @$(QMAKE) -o Makefile.Release src.pro
哪裏出錯?
感謝
[這可能是格式錯誤](http://stackoverflow.com/questions/920413/make-error-missing-separator)。如果刪除生成文件並在步驟1重新開始,它會發生嗎? – UmNyobe
我發現我可以在QTCreator中成功構建QWT。但我不知道如何將QWT與QTCreator相互關聯。謝謝。 – afatdog