程序在qt编译运行都没问题,下了一个qsa-win-opensource-1.2.2.exe,我用的是mingw,然后安装总出错,开始QA assistant报告unknown option --removecontentfile 和 --addcontentfile不认识,然后make的时候出现以下错误
Configuring Qt Script for Applications
Using QTDIR ........: C:\Qt\4.4.1
Using QMAKESPEC ....: win32-g++
Performing second stage configure
-> running qmake
-> building
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include" -I"." -I"c:\Qt\4.4.1\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"c:\Qt\4.4.1\include" -I"c:\Qt\4.4.1\mkspecs\win32-g++" -o tmp\obj\debug_shared\main.o main.cpp
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include" -I"." -I"c:\Qt\4.4.1\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"c:\Qt\4.4.1\include" -I"c:\Qt\4.4.1\mkspecs\win32-g++" -o tmp\obj\debug_shared\configutils.o configutils.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o configure2.exe tmp/obj/debug_shared/main.o tmp/obj/debug_shared/configutils.o -L"c:\Qt\4.4.1\lib" -L"c:\Qt\4.4.1\lib" -L"c:\Qt\4.4.1\lib" -lQtCore4
-> executing
Failed to install documentation
There were errors during configure, but these
do not appear to be fatal, so you should still be
able to build QSA.
Run your make tool to build QSA.
Building Qt Script for Application
mingw32-make -f Makefile.qsa
mingw32-make[1]: Entering directory `C:/QSA/1.2.2'
cd src\ && mingw32-make -f Makefile.qsa
mingw32-make[2]: Entering directory `C:/QSA/1.2.2/src'
cd qsa\ && mingw32-make -f Makefile.qsa
mingw32-make[3]: Entering directory `C:/QSA/1.2.2/src/qsa'
mingw32-make -f Makefile.qsa.Debug all
mingw32-make[4]: Entering directory `C:/QSA/1.2.2/src/qsa'
c:\Qt\4.4.1\bin\uic.exe ..\ide\findtext.ui -o ui_findtext.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\gotoline.ui -o ui_gotoline.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\idewindow.ui -o ui_idewindow.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\outputcontainer.ui -o ui_outputcontainer.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\projectcontainer.ui -o ui_projectcontainer.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\replacetext.ui -o ui_replacetext.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\preferencescontainer.ui -o ui_preferencescontainer.h
c:\Qt\4.4.1\bin\uic.exe ..\ide\preferences.ui -o ui_preferences.h
g++ -x c++-header -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQSA_DLL -DHAVE_CONFIG_H -DQSDEBUGGER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DHAVE_CONFIG_H -DQSDEBUGGER -DQT_DLL -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include\QtCore" -I"c:\Qt\4.4.1\include\QtGui" -I"c:\Qt\4.4.1\include\QtGui" -I"c:\Qt\4.4.1\include\Qt3Support" -I"c:\Qt\4.4.1\include\Qt3Support" -I"c:\Qt\4.4.1\include" -I"..\engine" -I"..\kernel" -I"." -I"..\..\tools\designer\editor" -I"..\engine" -I"..\ide" -I"." -I"..\private_headers" -I"c:\Qt\4.4.1\include\ActiveQt" -I"tmp\moc\debug_shared" -I"c:\Qt\4.4.1\include" -I"c:\Qt\4.4.1\mkspecs\win32-g++" -o tmp\obj\debug_shared\qsa_pch.h.gch\c++ qsa_pch.h
In file included from ../engine/qsengine.h:42,
from ../kernel/quickinterpreter.h:53,
from qsa_pch.h:47:
../engine/qsobject.h:78: error: `QBasicAtomic' does not name a type
../engine/qsobject.h: In member function `void QSObject::setVal(const QString&)':
../engine/qsobject.h:353: error: 'struct QSFakeQString::Data' has no member named 'ref'
mingw32-make[4]: *** [tmp/obj/debug_shared/qsa_pch.h.gch/c++] Error 1
mingw32-make[4]: Leaving directory `C:/QSA/1.2.2/src/qsa'
mingw32-make[3]: *** [debug-all] Error 2
mingw32-make[3]: Leaving directory `C:/QSA/1.2.2/src/qsa'
mingw32-make[2]: *** [sub-qsa-make_default-ordered] Error 2
mingw32-make[2]: Leaving directory `C:/QSA/1.2.2/src'
mingw32-make[1]: *** [sub-src-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/QSA/1.2.2'
mingw32-make: *** [run-make] Error 2
configure failed to automake
Create folder: C:\Documents and Settings\All Users\Start Menu\Programs\Trolltech QSA v1.2.2\Examples
Output folder: C:\QSA\1.2.2
Created uninstaller: C:\QSA\1.2.2\uninst.exe
Create shortcut: C:\Documents and Settings\All Users\Start Menu\Programs\Trolltech QSA v1.2.2\Trolltech.com.lnk
Create shortcut: C:\Documents and Settings\All Users\Start Menu\Programs\Trolltech QSA v1.2.2\Uninstall QSA 1.2.2.lnk
Output folder: C:\QSA\1.2.2
Completed
最近比较衰,被这种小坑绊乐好多次,请大虾救命