+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Visual Studio 2005 Express

  1. #1
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Visual Studio 2005 Express

    Hello,

    I'm trying to get Qt to work with MS Visual Studio 2005 Express on Windows XP.

    I have installed Visual Studio 2005 Express Edition and olso installed the Platform SDK and Qt 4.2.0 (well unzipped qt-win-opensource-src-4.2.0) to D:\ (I've got a project that is made in QT 4.2.0, So I'll assume I need this version)

    How do I make a clean compile without error's, setting the evonioment variables stuff and to link it in VS2005? The official QT Docs/WIKI cannot help me since thats very deorganized.

    And how do I proceed?
    Last edited by Muzz; 5th February 2008 at 16:24.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    The open source version of Qt supports MSVC starting from version 4.3.2 so you might want to start with grabbing more recent version of Qt (recommended). Otherwise you'll have to apply a community patch to make it possible to compile Qt with MSVC at all. Anyway, then the next step is to compile Qt with MSVC (by running configure.exe & nmake). Take your time to analyze configure output before you proceed to compilation. Also, see "configure -help" for detailed info about possible options.
    J-P Nurmi

  3. #3
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by jpn View Post
    The open source version of Qt supports MSVC starting from version 4.3.2 so you might want to start with grabbing more recent version of Qt (recommended). Otherwise you'll have to apply a community patch to make it possible to compile Qt with MSVC at all. Anyway, then the next step is to compile Qt with MSVC (by running configure.exe & nmake). Take your time to analyze configure output before you proceed to compilation. Also, see "configure -help" for detailed info about possible options.
    I do not understand any of your text that you've posted. On the website of Trolltech, It qoutes "Visual Studio support and integration is provided with the commercial Editions of Qt.", Im not planning to pay something for open source-development.

    I've followed your solution on my first post and the follow appears in the cmd;

    Qt Code:
    1. D:\qt-win-opensource-src-4.3.3>configure -platform win32-msvc2005
    2.  
    3. This is the Qt/Windows Open Source Edition.
    4.  
    5. You are licensed to use this software under the terms of
    6. the GNU General Public License.
    7.  
    8. Type '?' to view the GNU General Public License.
    9. Type 'y' to accept this license offer.
    10. Type 'n' to decline this license offer.
    11.  
    12. Do you accept the terms of the license?
    13. Y
    14.  
    15. Environment:
    16. INCLUDE=
    17. C:\Program Files\Microsoft Visual Studio\VC98\atl\include
    18. C:\Program Files\Microsoft Visual Studio\VC98\mfc\include
    19. C:\Program Files\Microsoft Visual Studio\VC98\include
    20. LIB=
    21. C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib
    22. C:\Program Files\Microsoft Visual Studio\VC98\lib
    23. PATH=
    24. C:\WINDOWS\system32
    25. C:\WINDOWS
    26. C:\WINDOWS\System32\Wbem
    27. C:\Qt\4.3.3\bin
    28. C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
    29. C:\Program Files\Microsoft Visual Studio\Common\Tools
    30. C:\Program Files\Microsoft Visual Studio\VC98\bin
    31. You are licensed to use this software under the terms of the GNU GPL.
    32. See D:/qt-win-opensource-src-4.3.3/LICENSE.GPL
    33.  
    34. Configuration:
    35. minimal-config
    36. small-config
    37. medium-config
    38. large-config
    39. full-config
    40. build_all
    41. debug
    42. Qt Configuration:
    43. release
    44. debug
    45. zlib
    46. png
    47. accessibility
    48. qt3support
    49. opengl
    50. ipv6
    51. minimal-config
    52. small-config
    53. medium-config
    54. large-config
    55. full-config
    56.  
    57. QMAKESPEC...................win32-msvc2005 (commandline)
    58. Architecture................windows
    59. Maketool....................nmake
    60. Debug symbols...............yes
    61. Accessibility support.......yes
    62. STL support.................yes
    63. Exception support...........yes
    64. RTTI support................yes
    65. MMX support.................yes
    66. 3DNOW support...............no
    67. SSE support.................yes
    68. SSE2 support................yes
    69. OpenGL support..............yes
    70. Direct3D support............no
    71. OpenSSL support.............no
    72. QDBus support...............no
    73. Qt3 compatibility...........yes
    74.  
    75. Third Party Libraries:
    76. ZLIB support............qt
    77. GIF support.............plugin
    78. TIFF support............plugin
    79. JPEG support............plugin
    80. PNG support.............qt
    81. MNG support.............plugin
    82.  
    83. Styles:
    84. Windows.................yes
    85. Windows XP..............no
    86. Windows Vista...........no
    87. Plastique...............yes
    88. Cleanlooks..............yes
    89. Motif...................yes
    90. CDE.....................yes
    91.  
    92. Sql Drivers:
    93. ODBC....................no
    94. MySQL...................no
    95. OCI.....................no
    96. PostgreSQL..............no
    97. TDS.....................no
    98. DB2.....................no
    99. SQLite..................plugin (qt)
    100. SQLite2.................no
    101. InterBase...............no
    102.  
    103. Sources are in..............D:\qt-win-opensource-src-4.3.3
    104. Build is done in............D:\qt-win-opensource-src-4.3.3
    105. Install prefix..............D:\qt-win-opensource-src-4.3.3
    106. Headers installed to........D:\qt-win-opensource-src-4.3.3\include
    107. Libraries installed to......D:\qt-win-opensource-src-4.3.3\lib
    108. Plugins installed to........D:\qt-win-opensource-src-4.3.3\plugins
    109. Binaries installed to.......D:\qt-win-opensource-src-4.3.3\bin
    110. Docs installed to...........D:\qt-win-opensource-src-4.3.3\doc
    111. Data installed to...........D:\qt-win-opensource-src-4.3.3
    112. Translations installed to...D:\qt-win-opensource-src-4.3.3\translations
    113. Examples installed to.......D:\qt-win-opensource-src-4.3.3\examples
    114. Demos installed to..........D:\qt-win-opensource-src-4.3.3\demos
    115.  
    116. Creating qmake...
    117. execute: File or path is not found (nmake)
    118. execute: File or path is not found (nmake)
    119. Cleaning qmake failed, return code -1
    120.  
    121. D:\qt-win-opensource-src-4.3.3>
    To copy to clipboard, switch view to plain text mode 
    Last edited by Muzz; 5th February 2008 at 16:44. Reason: Updated contents
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Ok, let's forget about confusing community patches. In short,
    • before Qt 4.3.2 it was impossible to compile the Qt Open Source Edition with MSVC
    • starting from Qt 4.3.2 the support for MSVC was added to the Qt Open Source Edition
    More details: Qt/Windows Open Source Edition to support VS Express

    Still, to use Qt Open Source Edition 4.3.2 or later with MSVC you'll need to compile it by hand. Qt Open Source Edition binary installers are only available for MinGW.

    Hopefully this clears the situation a bit.
    J-P Nurmi

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by Muzz View Post
    Qt Code:
    1. execute: File or path is not found (nmake)
    To copy to clipboard, switch view to plain text mode 
    You don't have nmake in PATH. Try using "Visual Studio Command Prompt".
    J-P Nurmi

  6. #6
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by jpn View Post
    You don't have nmake in PATH. Try using "Visual Studio Command Prompt".
    Yes I see, I've olso removed VC98 path's because VC6 is uninstalled before VC2005 was installed. Lets give it a try, I'll keep you guys updated. Thanks.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  7. #7
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Okay. A little update from me; I've done the two options, configurate and nmake (Nmake took about 2 hours). They both didn't result errors so I assume that its cool now.

    My installation directory is C:\qt-win-opensource-src-4.3.3

    How to continue right now?
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  8. #8
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    You might want to add "C:\qt-win-opensource-src-4.3.3\bin" to PATH so that you can run qmake conveniently. The next step is to create a cross-platform qmake project file (.pro) from which qmake is able to generate a Visual Studio project file (.vcproj) for you. (Furthermore, qmake is able to generate makefiles for all supported platforms/compilers.)

    Go grab Hello World and save it to an empty directory, let's say C:\HelloWorld:
    C:\HelloWorld> qmake -project
    C:\HelloWorld> qmake -tp vc
    First command creates an initial cross-platform .pro file from detected source files in that directory. Second command creates a Visual Studio project file based on the .pro file. Open the .vcproj in Visual Studio and build. Voilá!
    J-P Nurmi

  9. #9
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    jpn, look;



    Thank you for your help and patience!
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  10. #10
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by Muzz View Post
    jpn, look;

    I'm afraid something went wrong with that attachment. What did you want to show?

    Thank you for your help and patience!
    You're welcome.
    J-P Nurmi

  11. #11
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Just another question, is it possible to run 4.2.0 and not 4.3.3 because the source that I have is made in 4.2.0 and when compiling I get alot of QT and VC++ error's.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  12. #12
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Well, Qt 4.3.3 is backwards compatible with Qt 4.2.0 so I doubt it will solve compilation problems, but yes, you can have multiple versions of Qt installed. Just use qmake from the appropriate Qt installation to generate the .vcproj file. You can either adjust PATH environment variable or execute qmake directly from certain directory.
    J-P Nurmi

  13. #13
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by jpn View Post
    starting from Qt 4.3.2 the support for MSVC was added to the Qt Open Source Edition
    So that concluses me that 4.2.0 does not support MSVC, because I get platform errors while trying to configure?
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  14. #14
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by Muzz View Post
    So that concluses me that 4.2.0 does not support MSVC, because I get platform errors while trying to configure?
    There's a community patch which makes it possible. See our wiki: Qt4 with Visual Studio for more details.
    J-P Nurmi

  15. #15
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    I get alot of errors while making the vcproj files, How can I solve this?

    Qt Code:
    1. D:\project\src>qmake
    2.  
    3. D:\project\src>qmake -tp vc
    4. WARNING: Ignored (not found) 'D:\project\src\zlib\zlib.vcproj'
    5. WARNING: Ignored (not found) 'D:\project\src\libcrypt\crypt.vcproj'
    6. WARNING: Ignored (not found) 'D:\project\src\libidn\idn.vcproj'
    7. WARNING: Ignored (not found) 'D:\project\src\minizip\minizip.vcproj'
    8. WARNING: Ignored (not found) 'D:\project\src\libmess\mess.vcproj'
    9. WARNING: Ignored (not found) 'D:\project\src\mess\mess.vcproj'
    10. WARNING: Ignored (not found) 'D:\project\src\plugins\disco\disco.vcproj'
    11. WARNING: Ignored (not found) 'D:\project\src\plugins\register\register.vcproj'
    12. WARNING: Ignored (not found) 'D:\project\src\plugins\privacy\privacy.vcproj'
    13. WARNING: Ignored (not found) 'D:\project\src\plugins\search\search.vcproj'
    14. WARNING: Ignored (not found) 'D:\project\src\plugins\xhtml\xhtml.vcproj'
    15. WARNING: Ignored (not found) 'D:\project\src\plugins\chatstate\chatstate.vcproj'
    16. WARNING: Ignored (not found) 'D:\project\src\plugins\autostatus\autostatus.vcproj'
    17. WARNING: Ignored (not found) 'D:\project\src\plugins\vcard\vcard.vcproj'
    18. WARNING: Ignored (not found) 'D:\project\src\plugins\history\history.vcproj'
    19. WARNING: Ignored (not found) 'D:\project\src\plugins\bytestream\bytestream.vcproj'
    20. WARNING: Ignored (not found) 'D:\project\src\plugins\filetransfer\filetransfer.vcproj'
    21. WARNING: Ignored (not found) 'D:\project\src\plugins\rosterexchange\rosterexchange.vcproj'
    22. WARNING: Ignored (not found) 'D:\project\src\plugins\muc\muc.vcproj'
    23. WARNING: Ignored (not found) 'D:\project\src\zlib\zlib.vcproj'
    24. WARNING: Ignored (not found) 'D:\project\src\libcrypt\crypt.vcproj'
    25. WARNING: Ignored (not found) 'D:\project\src\libidn\idn.vcproj'
    26. WARNING: Ignored (not found) 'D:\project\src\minizip\minizip.vcproj'
    27. WARNING: Ignored (not found) 'D:\project\src\libmess\mess.vcproj'
    28. WARNING: Ignored (not found) 'D:\project\src\mess\mess.vcproj'
    29. WARNING: Ignored (not found) 'D:\project\src\plugins\disco\disco.vcproj'
    30. WARNING: Ignored (not found) 'D:\project\src\plugins\register\register.vcproj'
    31. WARNING: Ignored (not found) 'D:\project\src\plugins\privacy\privacy.vcproj'
    32. WARNING: Ignored (not found) 'D:\project\src\plugins\search\search.vcproj'
    33. WARNING: Ignored (not found) 'D:\project\src\plugins\xhtml\xhtml.vcproj'
    34. WARNING: Ignored (not found) 'D:\project\src\plugins\chatstate\chatstate.vcproj'
    35. WARNING: Ignored (not found) 'D:\project\src\plugins\autostatus\autostatus.vcproj'
    36. WARNING: Ignored (not found) 'D:\project\src\plugins\vcard\vcard.vcproj'
    37. WARNING: Ignored (not found) 'D:\project\src\plugins\history\history.vcproj'
    38. WARNING: Ignored (not found) 'D:\project\src\plugins\bytestream\bytestream.vcproj'
    39. WARNING: Ignored (not found) 'D:\project\src\plugins\filetransfer\filetransfer.vcproj'
    40. WARNING: Ignored (not found) 'D:\project\src\plugins\rosterexchange\rosterexchange.vcproj'
    41. WARNING: Ignored (not found) 'D:\project\src\plugins\muc\muc.vcproj'
    42. WARNING: Ignored (not found) 'D:\project\src\zlib\zlib.vcproj'
    43. WARNING: Ignored (not found) 'D:\project\src\libcrypt\crypt.vcproj'
    44. WARNING: Ignored (not found) 'D:\project\src\libidn\idn.vcproj'
    45. WARNING: Ignored (not found) 'D:\project\src\minizip\minizip.vcproj'
    46. WARNING: Ignored (not found) 'D:\project\src\libmess\mess.vcproj'
    47. WARNING: Ignored (not found) 'D:\project\src\mess\mess.vcproj'
    48. WARNING: Ignored (not found) 'D:\project\src\plugins\disco\disco.vcproj'
    49. WARNING: Ignored (not found) 'D:\project\src\plugins\register\register.vcproj'
    50. WARNING: Ignored (not found) 'D:\project\src\plugins\privacy\privacy.vcproj'
    51. WARNING: Ignored (not found) 'D:\project\src\plugins\search\search.vcproj'
    52. WARNING: Ignored (not found) 'D:\project\src\plugins\xhtml\xhtml.vcproj'
    53. WARNING: Ignored (not found) 'D:\project\src\plugins\chatstate\chatstate.vcproj'
    54. WARNING: Ignored (not found) 'D:\project\src\plugins\autostatus\autostatus.vcproj'
    55. WARNING: Ignored (not found) 'D:\project\src\plugins\vcard\vcard.vcproj'
    56. WARNING: Ignored (not found) 'D:\project\src\plugins\history\history.vcproj'
    57. WARNING: Ignored (not found) 'D:\project\src\plugins\bytestream\bytestream.vcproj'
    58. WARNING: Ignored (not found) 'D:\project\src\plugins\filetransfer\filetransfer.vcproj'
    59. WARNING: Ignored (not found) 'D:\project\src\plugins\rosterexchange\rosterexchange.vcproj'
    60. WARNING: Ignored (not found) 'D:\project\src\plugins\muc\muc.vcproj'
    To copy to clipboard, switch view to plain text mode 
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  16. #16
    Join Date
    Feb 2008
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Here's how I get Qt snapshots fully working, configured and built with MSVC2005:

    - Install MVSC2005 (or the other more recent version)
    - Install the most recent Platform SDK (see MSDN)
    - Afaik you'll need the Internet SDK as well, not sure, but better safe than sorry
    - Then, download and extract a recent snapshot or the preview release to D:\Qt\4.x.x
    - Open up a console with the MSVC settings loaded and go to your Qt directory
    - Type "configure -platform win32-msvc2005" without the quotation marks
    - That will build you the project files you'll need
    - After that, it's as simple as running "qmake" and drinking a lot of coffee

    Then, add D:\Qt\4.x.x\bin and D:\Qt\4.x.x\lib to your path environment variable, and you'll be able to use this version of Qt from everywhere on your system.

    Hope that helps!
    Last edited by Stukfruit; 13th February 2008 at 07:54.

  17. #17
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by Stukfruit View Post
    - After that, it's as simple as running "qmake" and drinking a lot of coffee
    I suppose you mean "nmake".
    J-P Nurmi

  18. #18
    Join Date
    Feb 2008
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    Afaik it doesn't really matter, but yeah, use whatever you like to use and then start drinking the coffee

  19. #19
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,506 Times in 1,384 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Visual Studio 2005 Express

    Quote Originally Posted by Stukfruit View Post
    Afaik it doesn't really matter, but yeah, use whatever you like to use and then start drinking the coffee
    In fact, there's a significant difference. qmake is a tool which generates makefiles (or project files) but doesn't build anything whereas nmake is the actual tool which builds projects based on provided makefiles. Very nice summary, though.
    J-P Nurmi

  20. #20
    Join Date
    Feb 2008
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Studio 2005 Express

    I know, I know

    I wasn't able to edit my previous post anymore, but I've got some updates. Just had a new system, so had to do everything right out of the box again. I was close, but some things could have been described better, so here goes:

    -------

    Here's how I get Qt snapshots fully working, configured and built with MSVC2005. The same list of routines is valid for MSVC2008 (aka Visual C++ 9.0) as well, it can open the project files from 2005 without any conversions (at least, I haven't seen it doing any).

    - Install MSVC2005 or MSVC2008
    - Install the most recent Platform SDK (@ MSDN: "Platform SDK for Windows Server 2003 R2")
    - From the Platform SDK, you'll need to install at least the base + internet options
    - Then, download and extract a recent snapshot or the preview release to D:\Qt\4.x.x
    - Open up a console with the MSVC settings loaded (see MSVC Tools-menu) and go to your Qt directory
    - Type "configure -platform win32-msvc2005" without the quotation marks
    - That will build you the project files you'll need
    - After that, it's as simple as running "nmake" and drinking a lot of coffee

    Then, add D:\Qt\4.x.x\bin and D:\Qt\4.x.x\lib to your path environment variable, and you'll be able to use this version of Qt from everywhere on your system. The latter could be added to the library section in the options from MSVC as well.

    When you run into a build error which tells you that QNetworkProxy is undefined, that's caused because one of the headers in Qt tells the compiler to forward declare QNetworkProxy only. Including QNetworkProxy.h in the source file giving the error, should solve it.

+ Reply to Thread

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06
  5. Qt Designer & Visual Studio 2005
    By pSiCho in forum Qt Tools
    Replies: 6
    Last Post: 9th February 2006, 13:40

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