If you are using Visual Studio withqt, You can ensure a more productive
Experience by adding the QT directories to your Visual Studio list of related des.
In Visual Studio, add the following directories to the Win32 platform include files list (tools | options | projects and solution | VC ++ Directories ):
- $ (Qtdir) \ include
- $ (Qtdir) \ include \ QT
- $ (Qtdir) \ include \ qtcore
- $ (Qtdir) \ include \ qtgui
- $ (Qtdir) \ include \ qthelp
- $ (Qtdir) \ include \ qtnetwork
- $ (Qtdir) \ include \ qtopengl
- $ (Qtdir) \ include \ qtscript
- $ (Qtdir) \ include \ qtsql
- $ (Qtdir) \ include \ qtsvg
- $ (Qtdir) \ include \ qttest
- $ (Qtdir) \ include \ qtuitools
- $ (Qtdir) \ include \ qtwebkit
- $ (Qtdir) \ include \ qtxml
- $ (Qtdir) \ include \ qtxmlpatterns
- $ (Qtdir) \ SRC
Make sure that the qtdir environment variable has been defined (or else manually substitute the QT directory for $ (qtdir) in the list items ).
In the VA x Options dialog, platform shoshould be set to Win32 (vassistx | visual assist x options | projects | C/C ++ Directories ).
Va X will parse encoded ded QT header files the next time you open a solution that uses QT. If you have the stable symbols in italic option enabled, QT symbols will be displayed in italics.