Results 1 to 7 of 7

Thread: Qt and VC++ instalation problem

  1. #1
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question Qt and VC++ instalation problem

    I am new with Qt,
    i need to install it with VC++, when i try to execute "configure -debug-and-release -no-qt3support -no-webkit" i got this error:
    Qt Code:
    1. Creating qmake...
    2.  
    3. Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
    4. Copyright (C) Microsoft Corporation. All rights reserved.
    5.  
    6. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\uni
    7. x -Igenerators\win32 -Igenerators\mac -IC:\Qt\2009.01\qt\include -IC:\Qt\2009.0
    8. 1\qt\include\QtCore -IC:\Qt\2009.01\qt\include -IC:\Qt\2009.01\qt\include\QtCor
    9. e -IC:\Qt\2009.01\qt\src\corelib\global -IC:\Qt\2009.01\qt\include\QtScript -
    10. IC:\Qt\2009.01\qt\mkspecs\win32-msvc2008 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABL
    11. ES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE
    12. _QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIA
    13. NT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQMAKE_OPENSOURCE_EDITIO
    14. N project.cpp
    15. project.cpp
    16. project.cpp(60) : fatal error C1083: Cannot open include file: 'Windows.h': No s
    17. uch file or directory
    18. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
    19. VC\BIN\cl.EXE"' : return code '0x2'
    20. Stop.
    21.  
    22. Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
    23. Copyright (C) Microsoft Corporation. All rights reserved.
    24.  
    25. del qbitarray.obj
    26. Could Not Find C:\Qt\2009.01\qt\qmake\qbitarray.obj
    27. del qbuffer.obj
    28. Could Not Find C:\Qt\2009.01\qt\qmake\qbuffer.obj
    29. del qcryptographichash.obj
    30. Could Not Find C:\Qt\2009.01\qt\qmake\qcryptographichash.obj
    31. del qlinkedlist.obj
    32. Could Not Find C:\Qt\2009.01\qt\qmake\qlinkedlist.obj
    33. del qfsfileengine.obj
    34. Could Not Find C:\Qt\2009.01\qt\qmake\qfsfileengine.obj
    35. del qfsfileengine_iterator.obj
    36. Could Not Find C:\Qt\2009.01\qt\qmake\qfsfileengine_iterator.obj
    37. del qbytearray.obj
    38. Could Not Find C:\Qt\2009.01\qt\qmake\qbytearray.obj
    39. del qvsnprintf.obj
    40. Could Not Find C:\Qt\2009.01\qt\qmake\qvsnprintf.obj
    41. del qbytearraymatcher.obj
    42. Could Not Find C:\Qt\2009.01\qt\qmake\qbytearraymatcher.obj
    43. del qdatetime.obj
    44. Could Not Find C:\Qt\2009.01\qt\qmake\qdatetime.obj
    45. del qdir.obj
    46. Could Not Find C:\Qt\2009.01\qt\qmake\qdir.obj
    47. del qdiriterator.obj
    48. Could Not Find C:\Qt\2009.01\qt\qmake\qdiriterator.obj
    49. del qfile.obj
    50. Could Not Find C:\Qt\2009.01\qt\qmake\qfile.obj
    51. del qtemporaryfile.obj
    52. Could Not Find C:\Qt\2009.01\qt\qmake\qtemporaryfile.obj
    53. del qabstractfileengine.obj
    54. Could Not Find C:\Qt\2009.01\qt\qmake\qabstractfileengine.obj
    55. del qfsfileengine_win.obj
    56. Could Not Find C:\Qt\2009.01\qt\qmake\qfsfileengine_win.obj
    57. del qfsfileengine_iterator_win.obj
    58. Could Not Find C:\Qt\2009.01\qt\qmake\qfsfileengine_iterator_win.obj
    59. del qfileinfo.obj
    60. Could Not Find C:\Qt\2009.01\qt\qmake\qfileinfo.obj
    61. del qglobal.obj
    62. Could Not Find C:\Qt\2009.01\qt\qmake\qglobal.obj
    63. del qhash.obj
    64. Could Not Find C:\Qt\2009.01\qt\qmake\qhash.obj
    65. del qiodevice.obj
    66. Could Not Find C:\Qt\2009.01\qt\qmake\qiodevice.obj
    67. del qlistdata.obj
    68. Could Not Find C:\Qt\2009.01\qt\qmake\qlistdata.obj
    69. del qlocale.obj
    70. Could Not Find C:\Qt\2009.01\qt\qmake\qlocale.obj
    71. del qmalloc.obj
    72. Could Not Find C:\Qt\2009.01\qt\qmake\qmalloc.obj
    73. del qmap.obj
    74. Could Not Find C:\Qt\2009.01\qt\qmake\qmap.obj
    75. del qregexp.obj
    76. Could Not Find C:\Qt\2009.01\qt\qmake\qregexp.obj
    77. del qstring.obj
    78. Could Not Find C:\Qt\2009.01\qt\qmake\qstring.obj
    79. del qstringlist.obj
    80. Could Not Find C:\Qt\2009.01\qt\qmake\qstringlist.obj
    81. del qtextstream.obj
    82. Could Not Find C:\Qt\2009.01\qt\qmake\qtextstream.obj
    83. del qdatastream.obj
    84. Could Not Find C:\Qt\2009.01\qt\qmake\qdatastream.obj
    85. del quuid.obj
    86. Could Not Find C:\Qt\2009.01\qt\qmake\quuid.obj
    87. del qvector.obj
    88. Could Not Find C:\Qt\2009.01\qt\qmake\qvector.obj
    89. del qsettings.obj
    90. Could Not Find C:\Qt\2009.01\qt\qmake\qsettings.obj
    91. del qlibraryinfo.obj
    92. Could Not Find C:\Qt\2009.01\qt\qmake\qlibraryinfo.obj
    93. del qvariant.obj
    94. Could Not Find C:\Qt\2009.01\qt\qmake\qvariant.obj
    95. del qurl.obj
    96. Could Not Find C:\Qt\2009.01\qt\qmake\qurl.obj
    97. del qsettings_win.obj
    98. Could Not Find C:\Qt\2009.01\qt\qmake\qsettings_win.obj
    99. del qmetatype.obj
    100. Could Not Find C:\Qt\2009.01\qt\qmake\qmetatype.obj
    101. del project.obj
    102. Could Not Find C:\Qt\2009.01\qt\qmake\project.obj
    103. del main.obj
    104. Could Not Find C:\Qt\2009.01\qt\qmake\main.obj
    105. del makefile.obj
    106. Could Not Find C:\Qt\2009.01\qt\qmake\makefile.obj
    107. del unixmake.obj
    108. Could Not Find C:\Qt\2009.01\qt\qmake\unixmake.obj
    109. del unixmake2.obj
    110. Could Not Find C:\Qt\2009.01\qt\qmake\unixmake2.obj
    111. del mingw_make.obj
    112. Could Not Find C:\Qt\2009.01\qt\qmake\mingw_make.obj
    113. del option.obj
    114. Could Not Find C:\Qt\2009.01\qt\qmake\option.obj
    115. del winmakefile.obj
    116. Could Not Find C:\Qt\2009.01\qt\qmake\winmakefile.obj
    117. del projectgenerator.obj
    118. Could Not Find C:\Qt\2009.01\qt\qmake\projectgenerator.obj
    119. del property.obj
    120. Could Not Find C:\Qt\2009.01\qt\qmake\property.obj
    121. del meta.obj
    122. Could Not Find C:\Qt\2009.01\qt\qmake\meta.obj
    123. del makefiledeps.obj
    124. Could Not Find C:\Qt\2009.01\qt\qmake\makefiledeps.obj
    125. del metamakefile.obj
    126. Could Not Find C:\Qt\2009.01\qt\qmake\metamakefile.obj
    127. del xmloutput.obj
    128. Could Not Find C:\Qt\2009.01\qt\qmake\xmloutput.obj
    129. del borland_bmake.obj
    130. Could Not Find C:\Qt\2009.01\qt\qmake\borland_bmake.obj
    131. del msvc_nmake.obj
    132. Could Not Find C:\Qt\2009.01\qt\qmake\msvc_nmake.obj
    133. del msvc_dsp.obj
    134. Could Not Find C:\Qt\2009.01\qt\qmake\msvc_dsp.obj
    135. del msvc_vcproj.obj
    136. Could Not Find C:\Qt\2009.01\qt\qmake\msvc_vcproj.obj
    137. del msvc_objectmodel.obj
    138. Could Not Find C:\Qt\2009.01\qt\qmake\msvc_objectmodel.obj
    139. del pbuilder_pbx.obj
    140. Could Not Find C:\Qt\2009.01\qt\qmake\pbuilder_pbx.obj
    141. del qnumeric.obj -del qscriptasm.obj -del qscriptast.obj -del qscript
    142. astvisitor.obj -del qscriptcompiler.obj -del qscriptecmaarray.obj -del qscrip
    143. tecmaboolean.obj -del qscriptecmacore.obj -del qscriptecmadate.obj -del qscri
    144. ptecmafunction.obj -del qscriptecmaglobal.obj -del qscriptecmamath.obj -del q
    145. scriptecmanumber.obj -del qscriptecmaobject.obj -del qscriptecmaregexp.obj -d
    146. el qscriptecmastring.obj -del qscriptecmaerror.obj -del qscriptcontext_p.obj
    147. -del qscriptengine.obj -del qscriptengine_p.obj -del qscriptengineagent.obj -
    148. del qscriptextenumeration.obj -del qscriptextvariant.obj -del qscriptcontext.o
    149. bj -del qscriptcontextinfo.obj -del qscriptfunction.obj -del qscriptgrammar.o
    150. bj -del qscriptlexer.obj -del qscriptclassdata.obj -del qscriptparser.obj -d
    151. el qscriptprettypretty.obj -del qscriptsyntaxchecker.obj -del qscriptclass.obj
    152. -del qscriptclasspropertyiterator.obj -del qscriptstring.obj -del qscriptval
    153. ue.obj -del qscriptvalueimpl.obj -del qscriptvalueiterator.obj -del qscriptva
    154. lueiteratorimpl.obj
    155. Could Not Find C:\Qt\2009.01\qt\qmake\qnumeric.obj
    156. del vc60.pdb
    157. Could Not Find C:\Qt\2009.01\qt\qmake\vc60.pdb
    158. del vc70.pdb
    159. Could Not Find C:\Qt\2009.01\qt\qmake\vc70.pdb
    160. del qmake.pdb
    161. Could Not Find C:\Qt\2009.01\qt\qmake\qmake.pdb
    162. del qmake.ilk
    163. Could Not Find C:\Qt\2009.01\qt\qmake\qmake.ilk
    164. del qmake.tds
    165. Could Not Find C:\Qt\2009.01\qt\qmake\qmake.tds
    166.  
    167. Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
    168. Copyright (C) Microsoft Corporation. All rights reserved.
    169.  
    170. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\uni
    171. x -Igenerators\win32 -Igenerators\mac -IC:\Qt\2009.01\qt\include -IC:\Qt\2009.0
    172. 1\qt\include\QtCore -IC:\Qt\2009.01\qt\include -IC:\Qt\2009.01\qt\include\QtCor
    173. e -IC:\Qt\2009.01\qt\src\corelib\global -IC:\Qt\2009.01\qt\include\QtScript -
    174. IC:\Qt\2009.01\qt\mkspecs\win32-msvc2008 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABL
    175. ES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE
    176. _QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIA
    177. NT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQMAKE_OPENSOURCE_EDITIO
    178. N project.cpp
    179. project.cpp
    180. project.cpp(60) : fatal error C1083: Cannot open include file: 'Windows.h': No s
    181. uch file or directory
    182. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
    183. VC\BIN\cl.EXE"' : return code '0x2'
    184. Stop.
    185. Building qmake failed, return code 2
    186. C:\Qt\2009.01\qt>
    To copy to clipboard, switch view to plain text mode 

    I ' m using the VC++ 2008 and Qt 4.5.0.
    I have installed the Visual Studio Add-in too, and the Qt menu appeared at VC++, i have created a Qt Application project at VC++, but when i try to compile it i got this error:
    Qt Code:
    1. 1>------ Build started: Project: ff, Configuration: Debug Win32 ------
    2. 1>Compiling...
    3. 1>moc_ff.cpp
    4. 1>main.cpp
    5. 1>ff.cpp
    6. 1>Generating Code...
    7. 1>Compiling...
    8. 1>qrc_ff.cpp
    9. 1>Linking...
    10. 1>LINK : fatal error LNK1181: cannot open input file 'qtmaind.lib'
    11. 1>Build log was saved at "file://c:\Users\Guilherme\Documents\Visual Studio 2008\Projects\ff\ff\Debug\BuildLog.htm"
    12. 1>ff - 1 error(s), 0 warning(s)
    13. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    To copy to clipboard, switch view to plain text mode 

    What is wrong??
    How can i fix it??
    Thanks for all.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt and VC++ instalation problem

    i think you have downloaded the sdk... it works with mingw... to compile qt with msvc.. download the sources..

  3. #3
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt and VC++ instalation problem

    ok, i try to do it,
    i have downloaded the source and now i dont know how can i compile,
    i have tried to open the .pro in my vc++, and rebuild solution, but everytime i got errors while linking.
    How can i compile qt from source im VC++??
    thanks.

  4. #4
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt and VC++ instalation problem

    just read the INSTALL file that is present in the qt source folder...

    open visual studio command prompt (start->ms visual studio-> vs command prompt)

    unzip qt sources to C:\Qt\qt45

    add C:\Qt\qt45\bin to PATH..
    cd to C:\Qt\qt45
    and run configure..

  5. #5
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt and VC++ instalation problem

    the problem is that there is no INSTALL file there.
    I have downloaded this one: http://www.qtsoftware.com/downloads/...source-package
    is it right??
    thnanks

  6. #6
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt and VC++ instalation problem

    that is not qt source. it is qt creator source...
    dl this one
    http://get.qtsoftware.com/qt/source/...-src-4.5.2.zip

  7. The following user says thank you to nish for this useful post:

    gui.br (21st July 2009)

  8. #7
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt and VC++ instalation problem

    thanks for the attention,
    now it is working!!
    thanks!!!

Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2009, 09:05
  2. Replies: 19
    Last Post: 3rd April 2009, 23:17
  3. deployment problem: msvc++ 2008 Express, Qt 4.4.3
    By vonCZ in forum Qt Programming
    Replies: 7
    Last Post: 10th November 2008, 14:38
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  5. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36

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.