Results 1 to 6 of 6

Thread: Visual Assist X and Qt

  1. #1
    Join Date
    Apr 2007
    Posts
    62
    Thanks
    43
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Visual Assist X and Qt

    Does anyone use Visual Assist with Qt ? If so, did you have to add Qt's inc/src directories to VA? What were the directories assuming default Qt installation? I guess the question is how to get VA to work fully with Qt?
    Last edited by ShaChris23; 4th May 2007 at 18:32. Reason: updated contents

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Assist X and Qt

    Yes, I use them for a long time now.

    I just added the QTDIR/include and QTDIR/src to the Visual Assist custom dirs, and it works just fine ( just takes a little to parse all the sources ).

    Regards

  3. The following user says thank you to marcel for this useful post:

    ShaChris23 (4th May 2007)

  4. #3
    Join Date
    Apr 2007
    Posts
    62
    Thanks
    43
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Assist X and Qt

    Hi Marcel,

    When you right-click on Qt functions ( i.e. QString::append() ), does it take you to the source file? I'm just trying to find out the reason why we need to add the src directory. It seems function completion works fine for me.

    VAX is a pretty good tool now that I start to get used to it.

  5. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Assist X and Qt

    The shortcut for "Go to definition" is Alt+G. I added the Qt dirs because VAX simply does not work in large projects.

    I am aware that for smaller projects it will work just fine, so you have nothing to worry about.

    Regards

  6. The following user says thank you to marcel for this useful post:

    ShaChris23 (4th May 2007)

  7. #5
    Join Date
    Apr 2007
    Posts
    62
    Thanks
    43
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Assist X and Qt

    Oh Marcel, when you say large projects, how big are we talking? Also, what happens when VAX doesnt work? Does it slow down the IDE a lot?

  8. #6
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Visual Assist X and Qt

    By large project I mean 200-300 source files.

    It never stopped working completely, just the "Go to def" functionality. Sometimes I had to restart the environment to make it work again. But once I added the Qt src and headers it works fine.

    Regards

Similar Threads

  1. Compile App using OpenGL and Visual Studios 2003
    By Rayven in forum General Programming
    Replies: 3
    Last Post: 26th April 2007, 15:43
  2. Visual Studio App Wizard for Qt
    By joshlareau in forum Qt-based Software
    Replies: 4
    Last Post: 9th February 2007, 20:36
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41
  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
  •  
Qt is a trademark of The Qt Company.