Qt4 windows 7上带VS 2005的Qt 4.6.2--未知错误Qmake失败

Qt4 windows 7上带VS 2005的Qt 4.6.2--未知错误Qmake失败,qt4,Qt4,我正在尝试为visual studio 2005 professional VC配置Qt 4.6.2商业版。我是新来的。当我尝试在cmd上配置它时,我得到以下错误 我已经安装了windows SDK(应该包括directshow/directX) 我得到的错误是: Do you accept the terms of the license? y All the required DirectShow/Direct3D files couldn't be found. Make sure you

我正在尝试为visual studio 2005 professional VC配置Qt 4.6.2商业版。我是新来的。当我尝试在cmd上配置它时,我得到以下错误

我已经安装了windows SDK(应该包括directshow/directX)

我得到的错误是:

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
strmiids.lib not found
dmoguids.lib not found
msdmo.lib not found
d3d9.h not found
Environment:
    INCLUDE=
      Unset
    LIB=
      Unset
    PATH=
      C:\Windows\system32
      C:\Windows
      C:\Windows\System32\Wbem
      C:\Windows\System32\WindowsPowerShell\v1.0\
      C:\Program Files\MATLAB\R2010b\runtime\win32
      C:\Program Files\MATLAB\R2010b\bin
      C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
      C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
      D:\Program Files\MATLAB\R2010b\runtime\win32
      D:\Program Files\MATLAB\R2010b\bin
      C:\Qt\4.6.2\bin
      D:\Program Files\Microsoft Visual Studio 8\VC\bin
      C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin

Licensee....................Ali
License ID..................1517430
Product license.............FullFramework Edition
Expiry Date.................

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
    xmlpatterns
    multimedia
    audio-backend
    webkit
    native-gestures
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

QMAKESPEC...................win32-msvc2005 (detected)
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.................yes
3DNOW support...............no
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............no
QtMultimedia support........yes
WebKit support..............yes
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\4.6.2
Build is done in............C:\Qt\4.6.2
Install prefix..............C:\Qt\4.6.2
Headers installed to........C:\Qt\4.6.2\include
Libraries installed to......C:\Qt\4.6.2\lib
Plugins installed to........C:\Qt\4.6.2\plugins
Binaries installed to.......C:\Qt\4.6.2\bin
Docs installed to...........C:\Qt\4.6.2\doc
Data installed to...........C:\Qt\4.6.2
Translations installed to...C:\Qt\4.6.2\translations
Examples installed to.......C:\Qt\4.6.2\examples
Demos installed to..........C:\Qt\4.6.2\demos

Symbian DEF files enabled...yes
Creating qmake...

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

Creating makefiles in src...
Generating Visual Studio project files...
execute: Unknown error
   (-nodepend)
   (-tp)
   (vc)
   (-spec)
   (win32-msvc2005)
   (-r)
   (C:/Qt/4.6.2/projects.pro)
   (-o)
   (C:/Qt/4.6.2)
Qmake failed, return code -1

Generating Makefiles...
execute: Unknown error
   (-spec)
   (win32-msvc2005)
   (-r)
   (C:/Qt/4.6.2/projects.pro)
   (-o)
   (C:/Qt/4.6.2)
Qmake failed, return code -1
您接受许可证的条款吗?
Y
找不到所有必需的DirectShow/Direct3D文件。
确保您拥有平台SDK和DirectShow SDK或Windows
SDK已安装。
如果已安装DirectShow SDK,请确保已运行
\SetEnv.Cmd脚本。
找不到vmr9.h
未找到dshow.h
找不到strmids.lib
未找到dmoguids.lib
找不到msdmo.lib
未找到d3d9.h
环境:
包括=
取消
解放党=
取消
路径=
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\MATLAB\R2010b\runtime\win32
C:\Program Files\MATLAB\R2010b\bin
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
D:\Program Files\MATLAB\R2010b\runtime\win32
D:\Program Files\MATLAB\R2010b\bin
C:\Qt\4.6.2\bin
D:\Program Files\Microsoft Visual Studio 8\VC\bin
C:\Program Files\Microsoft SDK\Windows\v7.0\Bin
被许可人……阿里
许可证编号1517430
产品许可证…………完整框架版
到期日。。。。。。。。。。。。。。。。。
配置:
最小配置
小配置
中等配置
大型配置
完整配置
建立所有
调试
Qt配置:
释放
调试
兹利布
巴布亚新几内亚
可达性
QT3支持
opengl
s60
ipv6
剧本
脚本工具
XML模式
多媒体
音频后端
网络工具包
本地手势
svg
最小配置
小配置
中等配置
大型配置
完整配置
QMAKESPEC………..win32-msvc2005(检测到)
体系结构…………windows
制作工具
调试符号…………是
链接时间代码生成…否
辅助功能支持……是
STL支持…………….是
异常支持…………是
RTTI支持…………是
MMX支持…………是
3DNOW支持…………否
SSE支持…………是
SSE2支持…………是
IWMMXT支持…………否
OpenGL支持…………是
OpenVG支持…………否
OpenSSL支持…………否
QtDBus支持…………否
QtXmlPatterns支持…….是
声子支持…………否
QT多媒体支持…….是
WebKit支持…………是
声明性支持………否
QtScript支持…………是
QtScriptTools支持…….是
图形系统…………光栅
Qt3兼容性…………是
第三方图书馆:
ZLIB支持…………qt
GIF支持………插件
TIFF支持………插件
JPEG支持………插件
PNG支持
MNG支持…………插件
FreeType支架…….编号
风格:
窗户…………是的
Windows XP…………否
Windows Vista…………否
塑料制品…………是的
干净的外表…………是的
主题…………是的
CDE是
Windows CE…………否
Windows Mobile…………否
S60……否
Sql驱动程序:
ODBC………否
MySQL…………否
保监处编号
PostgreSQL…………否
TDS编号
DB2……….否
SQLite插件(qt)
SQLite2……….编号
InterBase…………否
数据源位于………..C:\Qt\4.6.2中
构建是在………C:\Qt\4.6.2中完成的
安装前缀………..C:\Qt\4.6.2
安装到…….C:\Qt\4.6.2\的标题包括
库安装到……C:\Qt\4.6.2\lib
插件安装到…….C:\Qt\4.6.2\Plugins
二进制文件安装到…….C:\Qt\4.6.2\bin
安装到……….C:\Qt\4.6.2\doc的文档
数据安装到……….C:\Qt\4.6.2
翻译安装到…C:\Qt\4.6.2\Translations
安装到…….C:\Qt\4.6.2\Examples的示例
安装到……….C:\Qt\4.6.2\Demos的演示
Symbian DEF文件已启用…是
正在创建qmake。。。
Microsoft(R)程序维护实用程序版本8.00.50727.762
版权所有(C)微软公司。版权所有。
正在src中创建makefile。。。
正在生成Visual Studio项目文件。。。
执行:未知错误
(-nodepend)
(-tp)
(vc)
(-spec)
(win32-msvc2005)
(-r)
(C:/Qt/4.6.2/projects.pro)
(-o)
(C:/Qt/4.6.2)
Qmake失败,返回代码-1
正在生成生成文件。。。
执行:未知错误
(-spec)
(win32-msvc2005)
(-r)
(C:/Qt/4.6.2/projects.pro)
(-o)
(C:/Qt/4.6.2)
Qmake失败,返回代码-1

创建Visual Studio项目文件时失败,作为一种解决方法,请将以下参数添加到
configure.exe

--no-vcproj --no-dsp

创建Visual Studio项目文件时失败,作为一种解决方法,请将以下参数添加到
configure.exe

--no-vcproj --no-dsp

我必须将qmake.exe从qmake子文件夹复制到bin子文件夹。
在Windows XP上使用Qt 4.8.0和Visual Studio 2008。

我必须将qmake.exe从qmake子文件夹复制到bin子文件夹。
在Windows XP上使用Qt 4.8.0和Visual Studio 2008。

是否尝试运行SetEnv.cmd?或者,如果没有,可能需要指定INCLUDEPATH+=。。。和LIBS+=。。。qmake的参数。是否尝试运行SetEnv.cmd?或者,如果没有,可能需要指定INCLUDEPATH+=。。。和LIBS+=。。。qmake的参数。这对我不起作用。仍然收到“未找到”错误。这对我不起作用。仍在获取“未找到”错误。