• 9170阅读
  • 3回复

QT安装到VC6.0出问题,求解 [复制链接]

上一主题 下一主题
离线乌鸦
 
只看楼主 倒序阅读 楼主  发表于: 2010-07-10
上QT官网下载了QT2010.04;想把QT集成到VC6.0中
QT安装目录就在C:\Qt\2010.04\qt
按照论坛上的步骤,一直到configure出了如下问题 
  
C:\Qt\2010.04\qt>configure
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o
This is the Qt for Windows Open Source Edition.
You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1
or the GNU General Public License (GPL) version 3.
Type '3' to view the GNU General Public License version 3 (GPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.
Do you accept the terms of the license?
y
All the required DirectShow/Direct3D files couldn't be found.
Make sure you have either the platform SDK AND the DirectShow SDK or the Windows
 SDK installed.
If you have the DirectShow SDK installed, please make sure that you have run the
 <path to SDK>\SetEnv.Cmd script.
vmr9.h not found
dshow.h not found
dmoguids.lib not found
msdmo.lib not found
d3d9.h not found
Environment:
    INCLUDE=
      C:\PROGRA~1\MICROS~4\VC98\ATL\INCLUDE
      C:\PROGRA~1\MICROS~4\VC98\INCLUDE
      C:\PROGRA~1\MICROS~4\VC98\MFC\INCLUDE
      C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
    LIB=
      C:\PROGRA~1\MICROS~4\VC98\LIB
      C:\PROGRA~1\MICROS~4\VC98\MFC\LIB
      C:\Program Files\Microsoft Visual Studio\VC98\Lib
    PATH=
      C:\PROGRA~1\MICROS~4\Common\msdev98\BIN
      C:\PROGRA~1\MICROS~4\VC98\BIN
      C:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT
      C:\PROGRA~1\MICROS~4\Common\TOOLS
      C:\WINDOWS\system32
      C:\WINDOWS
      C:\WINDOWS\System32\Wbem
      C:\Program Files\ATI Technologies\ATI.ACE\Core-Static
      C:\Program Files\Common Files\Thunder Network\KanKan\Codecs
      C:\Program Files\Common Files\TTKN\Bin
      C:\Program Files\Microsoft SQL Server\90\Tools\binn\
      C:\Qt\2010.04\qt\bin
You are licensed to use this software under the terms of the GNU GPL version 3.Y
ou are licensed to use this software under the terms of the Lesser GNU LGPL vers
ion 2.1.
See C:/Qt/2010.04/qt3
 or C:/Qt/2010.04/qtL
Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    build_all
    debug
Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    s60
    ipv6
    script
    scripttools
    multimedia
    audio-backend
    native-gestures
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config
QMAKESPEC...................win32-msvc (env)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................no
3DNOW support...............no
SSE support.................no
SSE2 support................no
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......no
Phonon support..............no
QtMultimedia support........yes
WebKit support..............no
Declarative support.........no
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes
Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin
    FreeType support........no
Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no
    S60.....................no
Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no
Sources are in..............C:\Qt\2010.04\qt
Build is done in............C:\Qt\2010.04\qt
Install prefix..............C:\Qt\2010.04\qt
Headers installed to........C:\Qt\2010.04\qt\include
Libraries installed to......C:\Qt\2010.04\qt\lib
Plugins installed to........C:\Qt\2010.04\qt\plugins
Binaries installed to.......C:\Qt\2010.04\qt\bin
Docs installed to...........C:\Qt\2010.04\qt\doc
Data installed to...........C:\Qt\2010.04\qt
Translations installed to...C:\Qt\2010.04\qt\translations
Examples installed to.......C:\Qt\2010.04\qt\examples
Demos installed to..........C:\Qt\2010.04\qt\demos
Creating qmake...
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -IC:\Qt\2010.04\qt\i
nclude -IC:\Qt\2010.04\qt\include\QtCore  -IC:\Qt\2010.04\qt\include -IC:\Qt\201
0.04\qt\include\QtCore  -IC:\Qt\2010.04\qt\src\corelib\global  -IC:\Qt\2010.04\q
t\src\corelib\xml  -IC:\Qt\2010.04\qt\mkspecs\win32-msvc   -IC:\Qt\2010.04\qt\to
ols\shared  -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NOD
LL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -
DQT_NO_THREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_P
CRE -DQT_BOOTSTRAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(315) : error C
2065: '__alignof' : undeclared identifier
        C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(313) :
 while compiling class-template member function 'int __thiscall QVector<struct Q
MakeProject::ScopeBlock>::alignOfTypedData(void) const'
C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(315) : error C
2275: 'QVector<struct QMakeProject::ScopeBlock>::Data' : illegal use of this typ
e as an expression
        C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(313) :
 while compiling class-template member function 'int __thiscall QVector<struct Q
MakeProject::ScopeBlock>::alignOfTypedData(void) const'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
        del qbitarray.obj
找不到 C:\Qt\2010.04\qt\qmake\qbitarray.obj
        del qbuffer.obj
找不到 C:\Qt\2010.04\qt\qmake\qbuffer.obj
        del qcryptographichash.obj
找不到 C:\Qt\2010.04\qt\qmake\qcryptographichash.obj
        del qlinkedlist.obj
找不到 C:\Qt\2010.04\qt\qmake\qlinkedlist.obj
        del qfsfileengine.obj
找不到 C:\Qt\2010.04\qt\qmake\qfsfileengine.obj
        del qfsfileengine_iterator.obj
找不到 C:\Qt\2010.04\qt\qmake\qfsfileengine_iterator.obj
        del qbytearray.obj
找不到 C:\Qt\2010.04\qt\qmake\qbytearray.obj
        del qvsnprintf.obj
找不到 C:\Qt\2010.04\qt\qmake\qvsnprintf.obj
        del qbytearraymatcher.obj
找不到 C:\Qt\2010.04\qt\qmake\qbytearraymatcher.obj
        del qdatetime.obj
找不到 C:\Qt\2010.04\qt\qmake\qdatetime.obj
        del qdir.obj
找不到 C:\Qt\2010.04\qt\qmake\qdir.obj
        del qdiriterator.obj
找不到 C:\Qt\2010.04\qt\qmake\qdiriterator.obj
        del qfile.obj
找不到 C:\Qt\2010.04\qt\qmake\qfile.obj
        del qtemporaryfile.obj
找不到 C:\Qt\2010.04\qt\qmake\qtemporaryfile.obj
        del qabstractfileengine.obj
找不到 C:\Qt\2010.04\qt\qmake\qabstractfileengine.obj
        del qfsfileengine_win.obj
找不到 C:\Qt\2010.04\qt\qmake\qfsfileengine_win.obj
        del qfsfileengine_iterator_win.obj
找不到 C:\Qt\2010.04\qt\qmake\qfsfileengine_iterator_win.obj
        del qfileinfo.obj
找不到 C:\Qt\2010.04\qt\qmake\qfileinfo.obj
        del qglobal.obj
找不到 C:\Qt\2010.04\qt\qmake\qglobal.obj
        del qhash.obj
找不到 C:\Qt\2010.04\qt\qmake\qhash.obj
        del qiodevice.obj
找不到 C:\Qt\2010.04\qt\qmake\qiodevice.obj
        del qlist.obj
找不到 C:\Qt\2010.04\qt\qmake\qlist.obj
        del qlocale.obj
找不到 C:\Qt\2010.04\qt\qmake\qlocale.obj
        del qmalloc.obj
找不到 C:\Qt\2010.04\qt\qmake\qmalloc.obj
        del qmap.obj
找不到 C:\Qt\2010.04\qt\qmake\qmap.obj
        del qregexp.obj
找不到 C:\Qt\2010.04\qt\qmake\qregexp.obj
        del qtextcodec.obj
找不到 C:\Qt\2010.04\qt\qmake\qtextcodec.obj
        del qutfcodec.obj
找不到 C:\Qt\2010.04\qt\qmake\qutfcodec.obj
        del qstring.obj
找不到 C:\Qt\2010.04\qt\qmake\qstring.obj
        del qstringlist.obj
找不到 C:\Qt\2010.04\qt\qmake\qstringlist.obj
        del qtextstream.obj
找不到 C:\Qt\2010.04\qt\qmake\qtextstream.obj
        del qdatastream.obj
找不到 C:\Qt\2010.04\qt\qmake\qdatastream.obj
        del quuid.obj
找不到 C:\Qt\2010.04\qt\qmake\quuid.obj
        del qvector.obj
找不到 C:\Qt\2010.04\qt\qmake\qvector.obj
        del qsettings.obj
找不到 C:\Qt\2010.04\qt\qmake\qsettings.obj
        del qlibraryinfo.obj
找不到 C:\Qt\2010.04\qt\qmake\qlibraryinfo.obj
        del qvariant.obj
找不到 C:\Qt\2010.04\qt\qmake\qvariant.obj
        del qurl.obj
找不到 C:\Qt\2010.04\qt\qmake\qurl.obj
        del qsettings_win.obj
找不到 C:\Qt\2010.04\qt\qmake\qsettings_win.obj
        del qmetatype.obj
找不到 C:\Qt\2010.04\qt\qmake\qmetatype.obj
        del project.obj
找不到 C:\Qt\2010.04\qt\qmake\project.obj
        del main.obj
找不到 C:\Qt\2010.04\qt\qmake\main.obj
        del makefile.obj
找不到 C:\Qt\2010.04\qt\qmake\makefile.obj
        del unixmake.obj
找不到 C:\Qt\2010.04\qt\qmake\unixmake.obj
        del unixmake2.obj
找不到 C:\Qt\2010.04\qt\qmake\unixmake2.obj
        del mingw_make.obj
找不到 C:\Qt\2010.04\qt\qmake\mingw_make.obj
        del option.obj
找不到 C:\Qt\2010.04\qt\qmake\option.obj
        del winmakefile.obj
找不到 C:\Qt\2010.04\qt\qmake\winmakefile.obj
        del projectgenerator.obj
找不到 C:\Qt\2010.04\qt\qmake\projectgenerator.obj
        del property.obj
找不到 C:\Qt\2010.04\qt\qmake\property.obj
        del meta.obj
找不到 C:\Qt\2010.04\qt\qmake\meta.obj
        del makefiledeps.obj
找不到 C:\Qt\2010.04\qt\qmake\makefiledeps.obj
        del metamakefile.obj
找不到 C:\Qt\2010.04\qt\qmake\metamakefile.obj
        del xmloutput.obj
找不到 C:\Qt\2010.04\qt\qmake\xmloutput.obj
        del borland_bmake.obj
找不到 C:\Qt\2010.04\qt\qmake\borland_bmake.obj
        del msvc_nmake.obj
找不到 C:\Qt\2010.04\qt\qmake\msvc_nmake.obj
        del msvc_dsp.obj
找不到 C:\Qt\2010.04\qt\qmake\msvc_dsp.obj
        del msvc_vcproj.obj
找不到 C:\Qt\2010.04\qt\qmake\msvc_vcproj.obj
        del msvc_objectmodel.obj
找不到 C:\Qt\2010.04\qt\qmake\msvc_objectmodel.obj
        del symmake.obj
找不到 C:\Qt\2010.04\qt\qmake\symmake.obj
        del symmake_abld.obj
找不到 C:\Qt\2010.04\qt\qmake\symmake_abld.obj
        del symmake_sbsv2.obj
找不到 C:\Qt\2010.04\qt\qmake\symmake_sbsv2.obj
        del initprojectdeploy_symbian.obj
找不到 C:\Qt\2010.04\qt\qmake\initprojectdeploy_symbian.obj
        del registry.obj
找不到 C:\Qt\2010.04\qt\qmake\registry.obj
        del epocroot.obj
找不到 C:\Qt\2010.04\qt\qmake\epocroot.obj
        del pbuilder_pbx.obj
找不到 C:\Qt\2010.04\qt\qmake\pbuilder_pbx.obj
        del qxmlstream.obj
找不到 C:\Qt\2010.04\qt\qmake\qxmlstream.obj
        del qxmlutils.obj
找不到 C:\Qt\2010.04\qt\qmake\qxmlutils.obj
        del qnumeric.obj
找不到 C:\Qt\2010.04\qt\qmake\qnumeric.obj
        del vc60.pdb
找不到 C:\Qt\2010.04\qt\qmake\vc60.pdb
        del vc70.pdb
找不到 C:\Qt\2010.04\qt\qmake\vc70.pdb
        del qmake.pdb
找不到 C:\Qt\2010.04\qt\qmake\qmake.pdb
        del qmake.ilk
找不到 C:\Qt\2010.04\qt\qmake\qmake.ilk
        del qmake.tds
找不到 C:\Qt\2010.04\qt\qmake\qmake.tds
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
        cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -Igenerators\symbian  -IC:\Qt\2010.04\qt\i
nclude -IC:\Qt\2010.04\qt\include\QtCore  -IC:\Qt\2010.04\qt\include -IC:\Qt\201
0.04\qt\include\QtCore  -IC:\Qt\2010.04\qt\src\corelib\global  -IC:\Qt\2010.04\q
t\src\corelib\xml  -IC:\Qt\2010.04\qt\mkspecs\win32-msvc   -IC:\Qt\2010.04\qt\to
ols\shared  -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NOD
LL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -
DQT_NO_THREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_P
CRE -DQT_BOOTSTRAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(315) : error C
2065: '__alignof' : undeclared identifier
        C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(313) :
 while compiling class-template member function 'int __thiscall QVector<struct Q
MakeProject::ScopeBlock>::alignOfTypedData(void) const'
C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(315) : error C
2275: 'QVector<struct QMakeProject::ScopeBlock>::Data' : illegal use of this typ
e as an expression
        C:\Qt\2010.04\qt\include\QtCore/../../src/corelib/tools/qvector.h(313) :
 while compiling class-template member function 'int __thiscall QVector<struct Q
MakeProject::ScopeBlock>::alignOfTypedData(void) const'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Building qmake failed, return code 2

C:\Qt\2010.04\qt>









[ 此帖被乌鸦在2010-07-10 19:59重新编辑 ]
离线dbzhang800

只看该作者 1楼 发表于: 2010-07-10
看看这儿先:http://doc.qt.nokia.com/4.6/supported-platforms.html

另外,既然下载了Qt的SDK,直接用不就行了么?

如果必须要用这种古董级的VC6,请考虑安装Qt4.4或4.4之前的版本
离线zhawk

只看该作者 2楼 发表于: 2010-07-10
Qt4恐怕都不行,得Qt3
离线wd007

只看该作者 3楼 发表于: 2010-07-12
Qt4是可以的。但4.5以后官方宣称就不支持VC6了。如果用常规方法,则需要使用4.5以前的版本。

欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
快速回复
限100 字节
 
上一个 下一个