系统:vista ,VS2005
我上网下载了qt-win-opensource-src-4.4.3.zip,解压到 F:\QT 下,
环境变量设置如下:
新建QTDIR变量,变量值 F:\QT
新建QMAKESPEC变量,变量值 win32-msvc2005
在PATH变量中填加:F:\QT \bin\;
然后以管理员权限打开命令提示符
输入
C:\Users\Administrator>f:
F:\>CD F:\QT
F:\QT>configure -no-dsp -vcproj
在Do you accept the terms of the license?输入y
就出现
Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
Make sure you have the Direct3D SDK installed, and that you have run
the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
The D3D SDK library path *needs* to appear before the Platform SDK library
path in your LIB environment variable.
All the required DirectShow/Direct3D files couldn't be found.
Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
K installed.
If you have the DirectX SDK installed, please make sure that you have run the <p
ath to SDK>\SetEnv.Cmd script.
Environment:
INCLUDE=
Unset
LIB=
Unset
PATH=
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Program Files\ATI Technologies\ATI.ACE\Core-Static
f:\Vista优化大师
F:\Vista优化大师
C:\Program Files\Common Files\Ulead Systems\MPEG
C:\Program Files\Common Files\Autodesk Shared\
C:\Program Files\QuickTime\QTSystem\
C:\Program Files\Microsoft SQL Server\90\Tools\binn\
F:\QT\bin\
You are licensed to use this software under the terms of the GNU GPL version 2 o
r 3.
See F:/QT/LICENSE.GPL2
or F:/QT/LICENSE.GPL3
Configuration:
dist-config
large-config
medium-config
minimal-config
small-config
full-config
build_all
debug
Qt Configuration:
release
debug
zlib
png
accessibility
qt3support
opengl
ipv6
xmlpatterns
webkit
svg
minimal-config
small-config
medium-config
large-config
full-config
QMAKESPEC...................win32-msvc2005 (env)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
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
Direct3D support............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............no
WebKit support..............yes
Qt3 compatibility...........yes
Third Party Libraries:
ZLIB support............qt
GIF support.............plugin
TIFF support............plugin
JPEG support............plugin
PNG support.............qt
MNG support.............plugin
Styles:
Windows.................yes
Windows XP..............no
Windows Vista...........no
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes
Windows CE..............no
Windows Mobile..........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..............F:\QT
Build is done in............F:\QT
Install prefix..............F:\QT
Headers installed to........F:\QT\include
Libraries installed to......F:\QT\lib
Plugins installed to........F:\QT\plugins
Binaries installed to.......F:\QT\bin
Docs installed to...........F:\QT\doc
Data installed to...........F:\QT
Translations installed to...F:\QT\translations
Examples installed to.......F:\QT\examples
Demos installed to..........F:\QT\demos
Creating qmake...
execute: File or path is not found (nmake)
execute: File or path is not found (nmake)
Cleaning qmake failed, return code -1
之后输入nmake就说命令错误了,请问怎么办啊???
之前那条命令我试过输入
configure -release -static -fast -qt-sql-odbc -qt-sql-sqlite -no-webkit
和
configure.exe -debug-and-release
也是一样。。。。