Results 1 to 7 of 7

Thread: 5 Minute Tutorial on using Qt with Visual Studio

  1. #1

    Default 5 Minute Tutorial on using Qt with Visual Studio

    I recently spent some time learning the basics of working with Qt using Visual Studio 2008. I wrote up a short tutorial that I thought might be of interest. Read it here.

    I'm interested in feedback, particularly on getting code completion working reliably.

    Stephen

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    The easiest way is to dump Visual Studio's code completion and use something better for the job, such as CodeRush or Visual Assist. Neither are free however unless you get your work place to buy them for you. CodeRush does seem to produce a steady stream of evaluation editions however.

  3. #3
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    My approach to this is to use Qt creator for coding and visual studio for debugging. It takes a while to get used to and you sometimes hit the right key in the wrong window, but as far as I'm concerned Qt Creator's code completion makes it worth the trouble. Debugging using the CDB in Creator isn't good enough though. I think it would be cool if Qt Creator's code completion behaviour could be used as an add-on in visual studio as well (or someone should reverse engineer visual studio's debugger, which isn't cdb as far as I know).
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  4. #4
    Join Date
    Feb 2010
    Posts
    5
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    Hi, Stephen

    I did the same thing as you did, but seems the UI file only can be opened in the external QTDEsigner, actually I saw a screenshot on QT website, with the visual studio integration, could open/edit UI within VIsual studio,
    not sure it is only for vs2005 (did not try), or something not configured correctly.

    -David

    Quote Originally Posted by sschaub View Post
    I recently spent some time learning the basics of working with Qt using Visual Studio 2008. I wrote up a short tutorial that I thought might be of interest. Read it here.

    I'm interested in feedback, particularly on getting code completion working reliably.

    Stephen

  5. #5
    Join Date
    Dec 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    Thanks. It was straight forward and useful. Appreciate it.

    Sai Gollapudi

  6. #6
    Join Date
    Aug 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    Where is the tutorial?

  7. #7
    Join Date
    Jan 2013
    Posts
    25
    Thanks
    2
    Platforms
    Windows

    Default Re: 5 Minute Tutorial on using Qt with Visual Studio

    Thanks for the tutorial. I need to use QT Visual Studio Add-in for Visual studio 2012 with QT 4.8. Do you have any experience with it or a tutorial for it?

Similar Threads

  1. Qt in visual studio 2005
    By semden in forum Installation and Deployment
    Replies: 8
    Last Post: 31st October 2009, 00:52
  2. Visual Studio Add-in
    By dima in forum Installation and Deployment
    Replies: 3
    Last Post: 5th August 2009, 06:36
  3. QT Add-in for Visual Studio
    By justso1 in forum Newbie
    Replies: 13
    Last Post: 15th June 2009, 14:09
  4. Current tutorial on qt-opensource installation for Visual Studio 2005 / 2008
    By ntessore in forum Installation and Deployment
    Replies: 1
    Last Post: 16th May 2008, 12:15
  5. Visual Studio .NET & QT
    By fruzzo in forum Installation and Deployment
    Replies: 6
    Last Post: 3rd December 2007, 21:00

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.