Hey all,

So I think I'm having some major configuration issues. I've installed QT version 4.4.1 on my machine, Visual Studio 2008 standard (.NET 3.5 edition), the VS2008 SP1 (though that installation doesn't work well either; seperate issue) and the Visual Studio Integration package v1.4. However, when I try to configure QT using:

C:\Libraries\Qt> configure -platform win32-msvc2008

I get the following error:

Qt Code:
  1. C:\Libraries\Qt>configure -platform win32-msvc2008
  2. Reading license file in.....C:\Documents and Settings\Jason/.qt-license
  3.  
  4. This is the Qt/Windows DesktopLight Edition.
  5.  
  6. You are licensed to use this software under the terms of
  7. the Qt COMMERCIAL LICENSE AGREEMENT.
  8.  
  9. Type '?' to view the Qt COMMERCIAL LICENSE AGREEMENT.
  10. Type 'y' to accept this license offer.
  11. Type 'n' to decline this license offer.
  12.  
  13. Do you accept the terms of the license?
  14. y
  15. Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
  16. Make sure you have the Direct3D SDK installed, and that you have run
  17. the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
  18. The D3D SDK library path *needs* to appear before the Platform SDK library
  19. path in your LIB environment variable.
  20. All the required DirectShow/Direct3D files couldn't be found.
  21. Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
  22. K installed.
  23. If you have the DirectX SDK installed, please make sure that you have run the <p
  24. ath to SDK>\SetEnv.Cmd script.
  25. Environment:
  26. INCLUDE=
  27. Unset
  28. LIB=
  29. C:\Program Files\SQLXML 4.0\bin\
  30. PATH=
  31. C:\WINDOWS\system32
  32. C:\WINDOWS
  33. C:\WINDOWS\System32\Wbem
  34. C:\Program Files\TortoiseSVN\bin
  35. C:\Documents and Settings\Jason\My Documents\Downloads\Aircrack\aircrack-n
  36. g-1.0-rc1-win\bin
  37. C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
  38. C:\Program Files\Microsoft SQL Server\90\DTS\Binn\
  39. C:\Program Files\Microsoft SQL Server\90\Tools\binn\
  40. C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\
  41. C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
  42. c:\Libraries\Qt\bin
  43. Licensee....................Bryan Neumann
  44. License ID..................1541400
  45. Product license.............DesktopLight Edition
  46. Expiry Date.................
  47.  
  48. Configuration:
  49. dist-config
  50. large-config
  51. medium-config
  52. minimal-config
  53. small-config
  54. full-config
  55. build_all
  56. debug
  57. Qt Configuration:
  58. release
  59. debug
  60. zlib
  61. png
  62. accessibility
  63. qt3support
  64. opengl
  65. ipv6
  66. xmlpatterns
  67. webkit
  68. svg
  69. minimal-config
  70. small-config
  71. medium-config
  72. large-config
  73. full-config
  74.  
  75. QMAKESPEC...................win32-msvc2008 (commandline)
  76. Architecture................windows
  77. Maketool....................nmake
  78. Debug symbols...............yes
  79. Accessibility support.......yes
  80. STL support.................yes
  81. Exception support...........yes
  82. RTTI support................yes
  83. MMX support.................yes
  84. 3DNOW support...............no
  85. SSE support.................yes
  86. SSE2 support................yes
  87. IWMMXT support..............no
  88. OpenGL support..............yes
  89. Direct3D support............no
  90. OpenSSL support.............no
  91. QtDBus support..............no
  92. QtXmlPatterns support.......yes
  93. Phonon support..............no
  94. WebKit support..............yes
  95. Qt3 compatibility...........yes
  96.  
  97. Third Party Libraries:
  98. ZLIB support............qt
  99. GIF support.............plugin
  100. TIFF support............plugin
  101. JPEG support............plugin
  102. PNG support.............qt
  103. MNG support.............plugin
  104.  
  105. Styles:
  106. Windows.................yes
  107. Windows XP..............no
  108. Windows Vista...........no
  109. Plastique...............yes
  110. Cleanlooks..............yes
  111. Motif...................yes
  112. CDE.....................yes
  113. Windows CE..............no
  114. Windows Mobile..........no
  115.  
  116. Sql Drivers:
  117. ODBC....................no
  118. MySQL...................no
  119. OCI.....................no
  120. PostgreSQL..............no
  121. TDS.....................no
  122. DB2.....................no
  123. SQLite..................plugin (qt)
  124. SQLite2.................no
  125. InterBase...............no
  126.  
  127. Sources are in..............C:\Libraries\Qt
  128. Build is done in............C:\Libraries\Qt
  129. Install prefix..............C:\Libraries\Qt
  130. Headers installed to........C:\Libraries\Qt\include
  131. Libraries installed to......C:\Libraries\Qt\lib
  132. Plugins installed to........C:\Libraries\Qt\plugins
  133. Binaries installed to.......C:\Libraries\Qt\bin
  134. Docs installed to...........C:\Libraries\Qt\doc
  135. Data installed to...........C:\Libraries\Qt
  136. Translations installed to...C:\Libraries\Qt\translations
  137. Examples installed to.......C:\Libraries\Qt\examples
  138. Demos installed to..........C:\Libraries\Qt\demos
  139.  
  140. Creating qmake...
  141. execute: File or path is not found (nmake)
  142. execute: File or path is not found (nmake)
  143. Cleaning qmake failed, return code -1
To copy to clipboard, switch view to plain text mode 

Given that this doesn't work, I guess I'm not surprised that I can't get my program, which uses the QT Library project to create a static library that links into my other project in the same solution, to build clean. In the 'for what it's worth' category, the error I get there reads:

Qt Code:
  1. error C2838: 'lexical_cast' : illegal qualified name in member declaration
  2. c:\libraries\qt\src\corelib\kernel\qobjectdefs.h
  3. error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  4. c:\libraries\qt\src\corelib\kernel\qobjectdefs.h
  5. error C2208: 'const int' : no members defined using this type
  6. c:\libraries\qt\src\corelib\kernel\qobjectdefs.h
To copy to clipboard, switch view to plain text mode 

Any help would be appreciate as I have been searching the web, forums, documentation, FAQs and such for half a day and can't find an answer to solve this problem. Thanks.

Jason