Results 1 to 9 of 9

Thread: Qt 4.1.0 on Visual Studio 2005

  1. #1
    Join Date
    Jul 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Qt 4.1.0 on Visual Studio 2005

    I am a newbie. I just intall Qt 4.1.0 yesterday. I had already install Visual Studio 2005

    I ignored all the installation notes and allowed the installer wizard do its job.

    Things seemed to go pretty well. I found the path environment variables setup automatically.

    So I launched Visual Studio, and was not even greeted with any sign of Qt or so ;-( . Could someone please help me out! How can i integrate QT 4.1.0 with VS2005, so that i can just program from there on? Any tips ?

    nErnie

  2. #2
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Cool Re: Qt 4.1.0 on Visual Studio 2005

    The open source version does not come with integration for VS2005, you have to buy a Qt license to get the specially-developed VS Integration that Trolltech has written. I'm not sure the steps to use VS2005 with Qt without the VS Integration, but I don't imagine it is very smooth. I believe Qt open source is meant for people who are generally experienced with using Unix prompt and editing makefiles.

    I can tell you that if you do buy the license, the VS Integration is quite good - it makes the VS2005 handle all the moc'ing and uic'ing, add Qt GUI classes, and can design UI files from within VS2005 using QtDesigner (rather than spawn separate process).
    Last edited by gfunk; 5th July 2006 at 21:11.
    Software Engineer



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

    Default Re: Qt 4.1.0 on Visual Studio 2005

    J-P Nurmi

  4. The following user says thank you to jpn for this useful post:

    gfunk (5th July 2006)

  5. #4
    Join Date
    Jul 2006
    Posts
    25
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    Greatd link!

    Any idea if Visual Studio .NET (2003) the student version would work with QT integration?

    green here, thanks!

    Seth

  6. #5
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    Wow! That is an interesting link. I had been wondering how to use msvc with the open source version.

    It does seem like a bit of work to just set up Qt though, and that's before even compiling the sources! If they could distribute a package that contains the Qt after it has been patched and compiled, I think that would be convenient.

    As for standard code development, using open source Qt with msvc is probably better than starting out with the VS integration, because then it teaches you the underworkings, the foundations of Qt. The VS integration tends to hide it (make it easier to use), so when you run into weird problems, it can be hard to figure out what is going on.
    Software Engineer



  7. #6
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    Quote Originally Posted by Seth
    Any idea if Visual Studio .NET (2003) the student version would work with QT integration?
    With Trolltech's VS integration? I'm not sure what the student version has stripped away. I think it would work though, you could ask Trolltech.
    http://www.trolltech.com/products/qt...vs-integration
    Software Engineer



  8. #7
    Join Date
    Jul 2006
    Posts
    25
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    gfunk,

    Quote Originally Posted by gfunk
    As for standard code development, using open source Qt with msvc is probably better than starting out with the VS integration, because then it teaches you the underworkings, the foundations of Qt. The VS integration tends to hide it (make it easier to use), so when you run into weird problems, it can be hard to figure out what is going on.
    Yes, I am just starting out, very green, so good words above!

    Do you think I should take a further step back and use MinGW w/ QT4? Would that give me a better understanding of the needed underpinnings? Or should I just go ahead and try to get Qt 4 with msvc working? What long term benefits would I gain by using MinGW w/ QT4?

    Thanks in advance!

  9. #8
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    Er, I have not actually tried much minGW, nor the plain MSVC/Qt without the integration. I would say, try them both, see which one you prefer, than report back :P
    Actually, you should be able to ask Trolltech through email for a 2-week evaluation copy of the VS integration from Qt prior to actually getting the commercial license (which then costs like $1-2k).
    The more environments you try, the better of a feel you should get for the cross-platform benefits of Qt.
    Software Engineer



  10. The following user says thank you to gfunk for this useful post:

    Seth (6th July 2006)

  11. #9
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 4.1.0 on Visual Studio 2005

    Quote Originally Posted by Seth
    Do you think I should take a further step back and use MinGW w/ QT4? Would that give me a better understanding of the needed underpinnings?
    If you do not need Visual Studio, then I would say go ahead and use mingw. VS has a very good debugger, but I've never been impressed with the rest of it.

  12. The following user says thank you to Brandybuck for this useful post:

    Seth (6th July 2006)

Similar Threads

  1. Signature from Visual Studio qFindChildren
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2006, 18:57
  2. Menu shortcuts in Visual Studio?
    By kw in forum Qt Programming
    Replies: 1
    Last Post: 17th March 2006, 00:30
  3. Qt Designer & Visual Studio 2005
    By pSiCho in forum Qt Tools
    Replies: 6
    Last Post: 9th February 2006, 14:40
  4. Where does VS save its inviornment vars?
    By high_flyer in forum Installation and Deployment
    Replies: 5
    Last Post: 4th February 2006, 11:10
  5. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 01:51

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.