1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/integration.doc:36 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>About the Visual Studio Integration Plugin</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
<a href="index.html">
<font color="#004faf">Home</font></a>
| <a href="classes.html">
<font color="#004faf">All Classes</font></a>
| <a href="mainclasses.html">
<font color="#004faf">Main Classes</font></a>
| <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
| <a href="groups.html">
<font color="#004faf">Grouped Classes</font></a>
| <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=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
Qt application.
<p> <!-- toc -->
<ul>
<li><a href="#1"> How to install the Visual Studio Integration Plugin
</a>
<li><a href="#2"> How to uninstall the Visual Studio Integration Plugin
</a>
<li><a href="#3"> What can the Visual Studio Integration Plugin do?
</a>
<ul>
<li><a href="#3-1"> Using the 'New Qt Project' button
</a>
<li><a href="#3-2"> Using the 'New Qt Dialog' button
</a>
<li><a href="#3-3"> Using the 'Qt Designer' button
</a>
<li><a href="#3-4"> Using the 'Open Qt Project' button
</a>
<li><a href="#3-5"> Using the 'Write Qt Project' button
</a>
<li><a href="#3-6"> Using the 'Use Qt In Current Project' button
</a>
<li><a href="#3-7"> Using the 'Add MOC' button
</a>
</ul>
</ul>
<!-- endtoc -->
<p> <h2> How to install the Visual Studio Integration Plugin
</h2>
<a name="1"></a><p> When you install Qt, 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 "QMsDev 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>
<a name="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>
<a name="3"></a><p> The integration plugin adds the following options to Visual Studio:
<p> <ul>
<li> New Qt Project
<li> New Qt Dialog
<li> Qt Designer
<li> Open Qt Project
<li> Write Qt Project
<li> Use Qt In Current Project
<li> Add MOC
</ul>
<p> <h3> Using the 'New Qt Project' button
</h3>
<a name="3-1"></a><p> The 'New Qt Project' button allows you to create a simple Qt 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>Qt Designer</em>. When you have finished with
the form in <em>Qt Designer</em> just save it and it will appear in a
ready made Qt 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 Qt Dialog' button
</h3>
<a name="3-2"></a><p> The 'New Qt 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>Qt 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 'Qt Designer' button
</h3>
<a name="3-3"></a><p> The 'Qt Designer' button simply starts up <em>Qt 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 Qt Project' button
</h3>
<a name="3-4"></a><p> The 'Open Qt 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 Qt 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 Qt Project' button
</h3>
<a name="3-5"></a><p> The 'Write Qt 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 Qt In Current Project' button
</h3>
<a name="3-6"></a><p> The 'Use Qt In Current Project' button simply adds in the necessary
information for the current project so that it links against Qt and
sets any other settings needed to use Qt in that project.
<p> <h3> Using the 'Add MOC' button
</h3>
<a name="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 <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> and click the button.
<p> You only need to use this button if you added a file that has <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> in it by hand, you don't need to use this if you used any
of the previously mentioned buttons. It can also be invoked by using
the Ctrl+Shift+M key combination in Visual Studio.
<p>
<!-- eof -->
<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright © 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt 3.3.8</div>
</table></div></address></body>
</html>
|