Results 1 to 3 of 3

Thread: Compiling from source Qt 4.7.3 with win32-msvc2010 in Win7x64

  1. #1
    Join Date
    Aug 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Compiling from source Qt 4.7.3 with win32-msvc2010 in Win7x64

    Newbie here.

    I've followed several tutorials, including this one:
    http://www.holoborodko.com/pavel/201...l-studio-2010/

    To compile a 32 bit version of qt 4.7.3 on my windows 7 x64 machine with visual studio 2010.

    But I get the following error:
    Qt Code:
    1. D:\Projects\c++\qt-src-4.7.3>configure -debug-and-release -opensource -platform
    2. win32-msvc2010
    3.  
    4. This is the Qt for Windows Open Source Edition.
    5.  
    6. You are licensed to use this software under the terms of
    7. the GNU Lesser General Public License (LGPL) version 2.1
    8. or the GNU General Public License (GPL) version 3.
    9.  
    10. Type '3' to view the GNU General Public License version 3 (GPLv3).
    11. Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
    12. Type 'y' to accept this license offer.
    13. Type 'n' to decline this license offer.
    14.  
    15. Do you accept the terms of the license?
    16. y
    17. Environment:
    18. INCLUDE=
    19. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE
    20. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE
    21. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include
    22.  
    23. LIB=
    24. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB
    25. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB
    26. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib
    27.  
    28. PATH=
    29. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy
    30. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\
    31. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN
    32. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools
    33. C:\Windows\Microsoft.NET\Framework\v4.0.30319
    34. C:\Windows\Microsoft.NET\Framework\v3.5
    35. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages
    36. C:\Program Files (x86)\HTML Help Workshop
    37. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance
    38. Tools
    39. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools
    40. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin
    41. C:\Program Files (x86)\AMD APP\bin\x86_64
    42. C:\Program Files (x86)\AMD APP\bin\x86
    43. C:\Windows\system32
    44. C:\Windows
    45. C:\Windows\System32\Wbem
    46. C:\Windows\System32\WindowsPowerShell\v1.0\
    47. C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
    48. C:\Program Files\TortoiseSVN\bin
    49. D:\Projects\c++\qt-src-4.7.3\bin
    50. You are licensed to use this software under the terms of the GNU GPL version 3.Y
    51. ou are licensed to use this software under the terms of the Lesser GNU LGPL vers
    52. ion 2.1.
    53. See D:/Projects/c++/qt-src-4.7.33
    54.  
    55. or D:/Projects/c++/qt-src-4.7.3L
    56.  
    57. Configuration:
    58. minimal-config
    59. small-config
    60. medium-config
    61. large-config
    62. full-config
    63. build_all
    64. debug
    65. Qt Configuration:
    66. release
    67. debug
    68. zlib
    69. png
    70. accessibility
    71. qt3support
    72. opengl
    73. s60
    74. ipv6
    75. script
    76. scripttools
    77. xmlpatterns
    78. phonon
    79. phonon-backend
    80. multimedia
    81. audio-backend
    82. declarative
    83. native-gestures
    84. svg
    85. minimal-config
    86. small-config
    87. medium-config
    88. large-config
    89. full-config
    90.  
    91. QMAKESPEC...................win32-msvc2010 (commandline)
    92. Architecture................windows
    93. Maketool....................nmake
    94. Debug symbols...............yes
    95. Link Time Code Generation...no
    96. Accessibility support.......yes
    97. STL support.................yes
    98. Exception support...........yes
    99. RTTI support................yes
    100. MMX support.................yes
    101. 3DNOW support...............yes
    102. SSE support.................yes
    103. SSE2 support................yes
    104. IWMMXT support..............no
    105. OpenGL support..............yes
    106. OpenVG support..............no
    107. OpenSSL support.............no
    108. QtDBus support..............no
    109. QtXmlPatterns support.......yes
    110. Phonon support..............yes
    111. QtMultimedia support........yes
    112. WebKit support..............yes
    113. Declarative support.........yes
    114. Declarative debugging.......yes
    115. QtScript support............yes
    116. QtScriptTools support.......yes
    117. Graphics System.............raster
    118. Qt3 compatibility...........yes
    119.  
    120. Third Party Libraries:
    121. ZLIB support............qt
    122. GIF support.............plugin
    123. TIFF support............plugin
    124. JPEG support............plugin
    125. PNG support.............yes
    126. MNG support.............plugin
    127. FreeType support........no
    128.  
    129. Styles:
    130. Windows.................yes
    131. Windows XP..............yes
    132. Windows Vista...........yes
    133. Plastique...............yes
    134. Cleanlooks..............yes
    135. Motif...................yes
    136. CDE.....................yes
    137. Windows CE..............no
    138. Windows Mobile..........no
    139. S60.....................no
    140.  
    141. Sql Drivers:
    142. ODBC....................no
    143. MySQL...................no
    144. OCI.....................no
    145. PostgreSQL..............no
    146. TDS.....................no
    147. DB2.....................no
    148. SQLite..................plugin (qt)
    149. SQLite2.................no
    150. InterBase...............no
    151.  
    152. Sources are in..............D:\Projects\c++\qt-src-4.7.3
    153. Build is done in............D:\Projects\c++\qt-src-4.7.3
    154. Install prefix..............D:\Projects\c++\qt-src-4.7.3
    155. Headers installed to........D:\Projects\c++\qt-src-4.7.3\include
    156. Libraries installed to......D:\Projects\c++\qt-src-4.7.3\lib
    157. Plugins installed to........D:\Projects\c++\qt-src-4.7.3\plugins
    158. Imports installed to........D:\Projects\c++\qt-src-4.7.3\imports
    159. Binaries installed to.......D:\Projects\c++\qt-src-4.7.3\bin
    160. Docs installed to...........D:\Projects\c++\qt-src-4.7.3\doc
    161. Data installed to...........D:\Projects\c++\qt-src-4.7.3
    162. Translations installed to...D:\Projects\c++\qt-src-4.7.3\translations
    163. Examples installed to.......D:\Projects\c++\qt-src-4.7.3\examples
    164. Demos installed to..........D:\Projects\c++\qt-src-4.7.3\demos
    165.  
    166. Creating qmake...
    167.  
    168. Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    169. Copyright (C) Microsoft Corporation. All rights reserved.
    170.  
    171. Creating makefiles in src...
    172. Generating Visual Studio project files...
    173. execute: File or path is not found (D:\Projects\c++\qt-src-4.7.3\bin\qmake)
    174. Qmake failed, return code -1
    175.  
    176. Generating Makefiles...
    177. execute: File or path is not found (D:\Projects\c++\qt-src-4.7.3\bin\qmake)
    178. Qmake failed, return code -1
    To copy to clipboard, switch view to plain text mode 


    However if I copy the \qmake\ folder to the \bin\ folder, I get this:
    Qt Code:
    1. ....
    2.  
    3. Sources are in..............D:\Projects\c++\qt-src-4.7.3
    4. Build is done in............D:\Projects\c++\qt-src-4.7.3
    5. Install prefix..............D:\Projects\c++\qt-src-4.7.3
    6. Headers installed to........D:\Projects\c++\qt-src-4.7.3\include
    7. Libraries installed to......D:\Projects\c++\qt-src-4.7.3\lib
    8. Plugins installed to........D:\Projects\c++\qt-src-4.7.3\plugins
    9. Imports installed to........D:\Projects\c++\qt-src-4.7.3\imports
    10. Binaries installed to.......D:\Projects\c++\qt-src-4.7.3\bin
    11. Docs installed to...........D:\Projects\c++\qt-src-4.7.3\doc
    12. Data installed to...........D:\Projects\c++\qt-src-4.7.3
    13. Translations installed to...D:\Projects\c++\qt-src-4.7.3\translations
    14. Examples installed to.......D:\Projects\c++\qt-src-4.7.3\examples
    15. Demos installed to..........D:\Projects\c++\qt-src-4.7.3\demos
    16.  
    17. Creating qmake...
    18.  
    19. Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    20. Copyright (C) Microsoft Corporation. All rights reserved.
    21.  
    22. Creating makefiles in src...
    23. Generating Visual Studio project files...
    24. execute: Unknown error
    25. (-nodepend)
    26. (-tp)
    27. (vc)
    28. (-r)
    29. (D:/Projects/c++/qt-src-4.7.3/projects.pro)
    30. (-o)
    31. (D:/Projects/c++/qt-src-4.7.3)
    32. Qmake failed, return code -1
    33.  
    34. Generating Makefiles...
    35. execute: Unknown error
    36. (-r)
    37. (D:/Projects/c++/qt-src-4.7.3/projects.pro)
    38. (-o)
    39. (D:/Projects/c++/qt-src-4.7.3)
    40. Qmake failed, return code -1
    To copy to clipboard, switch view to plain text mode 

    Could anybody help me please?

    Thanks in advanced.

  2. #2
    Join Date
    Aug 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compiling from source Qt 4.7.3 with win32-msvc2010 in Win7x64

    help please

  3. #3
    Join Date
    Aug 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compiling from source Qt 4.7.3 with win32-msvc2010 in Win7x64

    Found the problem.

    Apparently I can't use '++' in the path.

Similar Threads

  1. error while compiling qtmobility from source
    By Aladin in forum Installation and Deployment
    Replies: 4
    Last Post: 5th May 2011, 16:24
  2. Qt 4.7 64bit msvc2010 Tools crash
    By _Mithrandir_ in forum Installation and Deployment
    Replies: 3
    Last Post: 13th August 2010, 13:36
  3. Problem with compiling Qt 4.6 via MSVC 2010 Beta2 (win32-msvc specs)
    By Erik-Moscow in forum Installation and Deployment
    Replies: 2
    Last Post: 17th December 2009, 18:44
  4. Cross compiling QT3 on Linux, for win32
    By mjrich in forum Installation and Deployment
    Replies: 10
    Last Post: 6th March 2006, 18:58
  5. compiling a qt project under win32
    By elcuco in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2006, 07:43

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.