Results 1 to 5 of 5

Thread: Qt 4.3.4 installation problem.

  1. #1
    Join Date
    Jan 2008
    Location
    Vancouver, Canada
    Posts
    54
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.3.4 installation problem.

    Hello,

    I am trying to install Qt 4.3.4 on a computer using Visual Studio 2008 Express.

    I found two tutorials online, but I am having difficulty installing it.

    I have run the vsvars32.bat, but when i execute "configure" from the prompt window (I am using the Visual Studio command window), instead of telling me to run nmake, it tells me to run mingw32-make. If I run that, I get an error, if I try to run nmake, I get another error.

    Below is the environment variables as seen when I run configure:
    Qt Code:
    1. Environment:
    2. INCLUDE=
    3. C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
    4. C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
    5. C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
    6. C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
    7.  
    8. LIB=
    9. C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB
    10. C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
    11. C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB
    12. C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
    13.  
    14. PATH=
    15. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
    16. C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    17. C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
    18. C:\WINDOWS\Microsoft.NET\Framework\v3.5
    19. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    20. C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages
    21. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
    22. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
    23. C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    24. C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
    25. C:\WINDOWS\Microsoft.NET\Framework\v3.5
    26. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    27. C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages
    28. C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
    29. C:\WINDOWS\system32
    30. C:\WINDOWS
    31. C:\WINDOWS\System32\Wbem
    32. C:\Program Files\QuickTime\QTSystem\
    33. c:\Program Files\Microsoft SQL Server\90\Tools\binn\
    34. QTDIR=C:\QtSource\bin
    35. C:\Python23
    36. C:\Python23\Scripts
    37. C:\Python23\Enthought\MingW\bin
    38. C:\Python23\Enthought\SWIG-1.3.21
    39. C:\Qt\4.3\bin
    40. C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    To copy to clipboard, switch view to plain text mode 


    This is the error I get when I run nmake:
    Qt Code:
    1. NMAKE : fatal error U1073: don't know how to make 'c:/Program\'
    2. Stop.
    3. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
    4. \nmake.exe"' : return code '0x2'
    5. Stop.
    6. NMAKE : fatal error U1077: 'cd' : return code '0x2'
    7. Stop.
    To copy to clipboard, switch view to plain text mode 

    I appreciate your help,

    Anna

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.4 installation problem.

    Do you pass any flags to configure?

    When you run configure it should output Qt's configuration. What is the build type?

  3. #3
    Join Date
    Jan 2008
    Location
    Vancouver, Canada
    Posts
    54
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.4 installation problem.

    I did not pass any flags to configure.

    This is what appears after the information that I gave in my last post:

    Qt Code:
    1. Configuration:
    2. minimal-config
    3. small-config
    4. medium-config
    5. large-config
    6. full-config
    7. build_all
    8. debug
    9. Qt Configuration:
    10. release
    11. debug
    12. zlib
    13. png
    14. accessibility
    15. qt3support
    16. opengl
    17. ipv6
    18. minimal-config
    19. small-config
    20. medium-config
    21. large-config
    22. full-config
    23.  
    24. QMAKESPEC...................win32-g++ (detected)
    25. Architecture................windows
    26. Maketool....................mingw32-make
    27. Debug symbols...............yes
    28. Accessibility support.......yes
    29. STL support.................yes
    30. Exception support...........yes
    31. RTTI support................yes
    32. MMX support.................no
    33. 3DNOW support...............no
    34. SSE support.................no
    35. SSE2 support................no
    36. OpenGL support..............yes
    37. Direct3D support............no
    38. OpenSSL support.............no
    39. QDBus support...............no
    40. Qt3 compatibility...........yes
    41.  
    42. Third Party Libraries:
    43. ZLIB support............qt
    44. GIF support.............plugin
    45. TIFF support............plugin
    46. JPEG support............plugin
    47. PNG support.............qt
    48. MNG support.............plugin
    49.  
    50. Styles:
    51. Windows.................yes
    52. Windows XP..............yes
    53. Windows Vista...........yes
    54. Plastique...............yes
    55. Cleanlooks..............yes
    56. Motif...................yes
    57. CDE.....................yes
    58.  
    59. Sql Drivers:
    60. ODBC....................no
    61. MySQL...................no
    62. OCI.....................no
    63. PostgreSQL..............no
    64. TDS.....................no
    65. DB2.....................no
    66. SQLite..................plugin (qt)
    67. SQLite2.................no
    68. InterBase...............no
    69.  
    70. Sources are in..............C:\Qt\4.3
    71. Build is done in............C:\Qt\4.3
    72. Install prefix..............C:\Qt\4.3
    73. Headers installed to........C:/Qt/4.3/include
    74. Libraries installed to......C:/Qt/4.3/lib
    75. Plugins installed to........C:/Qt/4.3/plugins
    76. Binaries installed to.......C:/Qt/4.3/bin
    77. Docs installed to...........C:/Qt/4.3/doc
    78. Data installed to...........C:/Qt/4.3
    79. Translations installed to...C:/Qt/4.3/translations
    80. Examples installed to.......C:/Qt/4.3/examples
    81. Demos installed to..........C:/Qt/4.3/demos
    To copy to clipboard, switch view to plain text mode 

    Thanks!

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.4 installation problem.

    Quote Originally Posted by abrou View Post
    QMAKESPEC...................win32-g++ (detected)
    This means that Qt will use MinGW toolchain. Pass "-platform win32-msvc" option to configure.

  5. The following user says thank you to jacek for this useful post:

    abrou (1st May 2008)

  6. #5
    Join Date
    Jan 2008
    Location
    Vancouver, Canada
    Posts
    54
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.4 installation problem.

    It is finally starting to compile! We'll see how it goes.

    I would like to thank you jacek, and everyone else on this forum who has helped me. Not only have people always had an answer, but they are almost always kind and patient. I imagine that a person more experienced than me in Qt, and programming in general, might get impatient, but as I am only learning, I really appriciate the patience of those who have helped me.

    Again, thank you.

    Anna

Similar Threads

  1. Replies: 6
    Last Post: 15th July 2008, 10:43
  2. Unsolved ubuntu installation of qt problem
    By sincnarf in forum Installation and Deployment
    Replies: 1
    Last Post: 30th September 2007, 09:41
  3. Serious installation problem
    By Morea in forum Installation and Deployment
    Replies: 1
    Last Post: 19th September 2007, 10:15
  4. Qt4: Problem after installation
    By naccchii in forum Installation and Deployment
    Replies: 2
    Last Post: 5th July 2007, 11:15
  5. painter problem in new Qt-4.2.3 installation
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd May 2007, 05:34

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.