<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>About the Visual Studio Integration Plugin</h1>
<p> The Visual Studio Integration Plugin is currently available only to users of
Visual Studio 6, it offers simple ways of doing common tasks when writing a
TQt application.
<p><!-- toc -->
<ul>
<li><ahref="#1"> How to install the Visual Studio Integration Plugin
</a>
<li><ahref="#2"> How to uninstall the Visual Studio Integration Plugin
</a>
<li><ahref="#3"> What can the Visual Studio Integration Plugin do?
</a>
<ul>
<li><ahref="#3-1"> Using the 'New TQt Project' button
</a>
<li><ahref="#3-2"> Using the 'New TQt Dialog' button
</a>
<li><ahref="#3-3"> Using the 'TQt Designer' button
</a>
<li><ahref="#3-4"> Using the 'Open TQt Project' button
</a>
<li><ahref="#3-5"> Using the 'Write TQt Project' button
</a>
<li><ahref="#3-6"> Using the 'Use TQt In Current Project' button
</a>
<li><ahref="#3-7"> Using the 'Add MOC' button
</a>
</ul>
</ul>
<!-- endtoc -->
<p><h2> How to install the Visual Studio Integration Plugin
</h2>
<aname="1"></a><p> When you install TQt, the integration plugin should be installed for you,
and ready for use. However, sometimes this does not happen properly, so
you need to manually carry out the following steps.
<p><ul>
<li> Ensure that the file '%MSDevDir%\addins\qmsdev.dll' exists.
<li> Start Visual Studio, if it isn't already running.
<li> Select Tools|Customize|Add-ins and Macro Files.
<li> Ensure the checkbox to the left of the "TQMsDev Developer Studio-Add-In" add-in is checked.
<li> Click Close.
</ul>
<p> Now the integration plugin should be properly installed. If this doesn't
work, then contact Trolltech technical support giving details of
what went wrong.
<p><h2> How to uninstall the Visual Studio Integration Plugin
</h2>
<aname="2"></a><p> When you want to uninstall the integration plugin, just carry out the
following steps.
<p><ul>
<li> Close down any instances of Visual Studio.
<li> Delete the file '%MSDevDir%\addins\qmsdev.dll'
</ul>
<p><h2> What can the Visual Studio Integration Plugin do?
</h2>
<aname="3"></a><p> The integration plugin adds the following options to Visual Studio:
<p><ul>
<li> New TQt Project
<li> New TQt Dialog
<li> TQt Designer
<li> Open TQt Project
<li> Write TQt Project
<li> Use TQt In Current Project
<li> Add MOC
</ul>
<p><h3> Using the 'New TQt Project' button
</h3>
<aname="3-1"></a><p> The 'New TQt Project' button allows you to create a simple TQt project
ready for development. Simply fill in the form and if you select
'Dialog' or 'Main Window' without MDI support then it will
automatically start up <em>TQt Designer</em>. When you have finished with
the form in <em>TQt Designer</em> just save it and it will appear in a
ready made TQt project.
<p> If you select 'Main Window' with 'MDI Support' then it will simply
give you a code skeleton in a project ready for you to populate with
your own code.
<p><h3> Using the 'New TQt Dialog' button
</h3>
<aname="3-2"></a><p> The 'New TQt Dialog' button works in two ways: You can use it to create a new
dialog for your project; or you can use it to insert an existing
dialog into your project.
<p> If you want to create a new dialog then all you need to do is specify where
the dialog file should be saved and give it a name. This will start up
<em>TQt Designer</em> to allow you to design your new dialog, and will add it to
the existing project.
<p> If you want to add an existing dialog to your project, then just select the
relevant <tt>.ui</tt> file. This will then add it to your existing project and add
the relevant steps to create the generated code.
<p><h3> Using the 'TQt Designer' button
</h3>
<aname="3-3"></a><p> The 'TQt Designer' button simply starts up <em>TQt Designer</em>, it has no ties to
your existing project so whatever you do with it will not affect your
existing projects. It can also be started up by using the Ctrl+Shift+D key
combination in Visual Studio.
<p><h3> Using the 'Open TQt Project' button
</h3>
<aname="3-4"></a><p> The 'Open TQt Project' button allows you to convert an existing <tt>qmake</tt> project file into a <tt>.dsp</tt> file which you can insert into
your existing workspace. When you click the 'Open TQt Project'
button, just select an existing <tt>qmake</tt> project file (a <tt>.pro</tt>
file) and then click OK. You will get a message box at the end
which asks you to insert the newly created <tt>.dsp</tt> file into your
existing workspace.
<p><h3> Using the 'Write TQt Project' button
</h3>
<aname="3-5"></a><p> The 'Write TQt Project' button creates a <tt>qmake</tt> project (<tt>.pro</tt>)
file for your current project so that you can easily copy the files
onto another platform and be able to use <tt>qmake</tt> to create a Makefile
on that other platform. All you need to do is make the project you
want to create a <tt>.pro</tt> file for, and click on the button. Just
name your <tt>qmake</tt> project file and click Save.
<p><h3> Using the 'Use TQt In Current Project' button
</h3>
<aname="3-6"></a><p> The 'Use TQt In Current Project' button simply adds in the necessary
information for the current project so that it links against TQt and
sets any other settings needed to use TQt in that project.
<p><h3> Using the 'Add MOC' button
</h3>
<aname="3-7"></a><p> The 'Add MOC' button will add in the custom build step for the selected file
so that it creates any needed MOC files and it will add these generated
files to the project. All you need to do to use it is click on a file that
has <ahref="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> and click the button.
<p> You only need to use this button if you added a file that has <ahref="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> in it by hand, you don't need to use this if you used any