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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
|
<!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/faq.doc:1 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>The TQt FAQ</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>The TQt FAQ</h1>
<p>
<p> See also the <a href="commonproblems.html">Technical FAQ</a>.
<p> <!-- toc -->
<ul>
<li><a href="#1"> General Questions
</a>
<ul>
<li><a href="#1-1"> What is TQt?
</a>
<li><a href="#1-2"> What is Trolltech?
</a>
<li><a href="#1-3"> How can I evaluate TQt?
</a>
<li><a href="#1-4"> What does TQt cost?
</a>
<li><a href="#1-5"> How can I buy TQt?
</a>
<li><a href="#1-6"> What kind of technical support is available for TQt?
</a>
<li><a href="#1-7"> Who provides training for TQt?
</a>
<li><a href="#1-8"> Who provides consultancy for TQt?
</a>
<li><a href="#1-9"> Are there any books about TQt programming?
</a>
<li><a href="#1-10"> What is the Open Source Edition?
</a>
<li><a href="#1-11"> What is the idea behind having a free version of TQt?
</a>
<li><a href="#1-12"> Is there a low-cost version of TQt for writing shareware?
</a>
</ul>
<li><a href="#2"> Questions about TQt's Users
</a>
<ul>
<li><a href="#2-1"> How many developers use TQt?
</a>
<li><a href="#2-2"> Which major corporations use TQt?
</a>
<li><a href="#2-3"> Are there any well-known applications that use TQt?
</a>
</ul>
<li><a href="#3"> Questions about Developing Applications with TQt
</a>
<ul>
<li><a href="#3-1"> Is there a mailing list for TQt?
</a>
<li><a href="#3-2"> Is TQt's documentation available online?
</a>
<li><a href="#3-3"> Is there a technical newsletter for TQt?
</a>
<li><a href="#3-4"> I think I have found a bug in TQt. Where can I report it?
</a>
</ul>
<li><a href="#4"> Questions about Professional Licensing
</a>
<ul>
<li><a href="#4-1"> We have purchased a license, but the developer is leaving the company
project. Can we transfer the license to another developer?
</a>
<li><a href="#4-2"> Can I purchase floating licenses for TQt?
</a>
<li><a href="#4-3"> Can we use the Open Source Edition while developing our non-free
application and then purchase commercial licenses when we start to
sell it?
</a>
</ul>
<li><a href="#5"> Questions about Open Source Software Licensing
</a>
<ul>
<li><a href="#5-1"> I just want to run KDE and other TQt-based software on my
machine. Can I do that with the Open Source Edition?
</a>
<li><a href="#5-2"> I want to put TQt, and applications that use it, on a CD-ROM or on
a web site. Can I do that with the Open Source Edition?
</a>
<li><a href="#5-3"> Can I make software with the TQt Open Source Edition and release it under
the GNU GPL, BSD, or Artistic license?
</a>
<li><a href="#5-4"> I don't want to give away my source code. What do I do?
</a>
<li><a href="#5-5"> Is software based on the TQt Open Source Edition really free? Does it
carry any Trolltech-specific license restrictions?
</a>
<li><a href="#5-6"> What if Trolltech stops releasing Open Source Editions of TQt?
</a>
<li><a href="#5-7"> Using the Open Source Edition, can I make non-free software for internal
use in my company/organization?
</a>
<li><a href="#5-8"> Is TQt Open Source Edition really free software in the GNU meaning of the
word?
</a>
<li><a href="#5-9"> If the Open Source Edition is GNU GPL, aren't there license conflicts
with incompatible open source licenses? How come people can even
run commercial software like the Opera web browser with it?
</a>
<li><a href="#5-10"> Doesn't such an en extra license in addition to the GNU GPL
violate the terms of the GPL or at least make the whole package
GPL-incompatible?
</a>
<li><a href="#5-11"> Why is TQt Open Source Edition not distributed under the GNU Lesser
General Public License (LGPL)?
</a>
</ul>
<li><a href="#6"> Questions about other programming languages
</a>
<ul>
<li><a href="#6-1"> Are there bindings to languages other than C++?
</a>
<li><a href="#6-2"> Can I develop commercial applications with PerlTQt or PyTQt or other
TQt wrappers?
</a>
</ul>
</ul>
<!-- endtoc -->
<p> <hr>
<h2> General Questions
</h2>
<a name="1"></a><p> <hr width="30%">
<h3> What is TQt?
</h3>
<a name="1-1"></a><p> TQt is a multiplatform C++ GUI toolkit. It
provides application developers with all the functionality
needed to build applications with state-of-the-art graphical
user interfaces. TQt is fully object-oriented, easily
extensible, and allows true component programming.
<p> TQt is supported on the following platforms:
<p> <ul>
<li> <b>MS/Windows</b> -- 95, 98, NT 4.0, ME, 2000, and XP
<li> <b>Unix/X11</b> -- Linux, Sun Solaris, HP-UX, Compaq Tru64 UNIX,
IBM AIX, SGI IRIX and a wide range of others
<li> <b>Macintosh</b> -- Mac OS X
<li> <b>Embedded</b> -- Linux platforms with framebuffer support.
</ul>
<p> It has become the emerging standard development
environment for IT professionals who want to:
<p> <ul>
<li> Write (and maintain) a single source-tree.
<li> Port their applications to multiple platforms with a simple
recompilation.
<li> Internationalize their applications.
<li> Provide their applications with native look and feel.
<li> Have their applications run at native speed.
</ul>
<p> <hr width="30%">
<h3> What is Trolltech?
</h3>
<a name="1-2"></a><p> Trolltech is an international software company with
headquarters in Oslo, the capital of Norway, and with offices
in Brisbane, Australia, and Redwood City, California. Our
flagship product is TQt, the multi-platform C++ GUI toolkit.
<p> Trolltech ASA was founded in 1994, although, the core team of designers
started TQt's development in 1992.
<p> More details can be found at <a href="troll.html">Trolltech</a>.
<p> <hr width="30%">
<h3> How can I evaluate TQt?
</h3>
<a name="1-3"></a><p> We offer 30 day evaluation versions of TQt on all our supported platforms.
Further details can be found here: <a href="http://www.trolltech.com/evaluate.html">http://www.trolltech.com/evaluate.html</a>.
<p> <hr width="30%">
<h3> What does TQt cost?
</h3>
<a name="1-4"></a><p> This depends on your number of developers, on how many
different platforms you target, and on the edition of TQt you
choose. Currently we offer two different editions (Enterprise
Edition and Professional Edition) on four different
platforms (Microsoft Window, Unix/X11, Macintosh and Linux/embedded).
<p> We also offer discounts for academic and research institutions.
<p> Details on pricing can be found here:
<a href="http://www.trolltech.com/pricing.html">http://www.trolltech.com/pricing.html</a>.
<p> <hr width="30%">
<h3> How can I buy TQt?
</h3>
<a name="1-5"></a><p> To purchase, please visit the <a
href="https://webshop.trolltech.com/cgi-bin/index.cgi">Trolltech
webshop</a>. In the webshop, you can generate a Purchase Order, order
a Quote, or purchase directly using a credit card.
<p> For further information and assistance, please contact Trolltech sales:
<p> Email: <a href="mailto:[email protected]">[email protected]</a>
Phone, US office (for North America): <strong>(+1) 650-813-1676</strong>
Phone, Norway office (for others): <strong>+47 2160 4800</strong>
<p> <hr width="30%">
<h3> What kind of technical support is available for TQt?
</h3>
<a name="1-6"></a><p> Trolltech offers email support to commercial licensees. The first year
of Trolltech's Support and Maintenance Service is included with the
purchase of TQt Professional and TQt Enterprise Edition licenses.
Licenses can be kept up-to-date and fully supported by buying
the Support and Maintenance Service for the licenses held in each
subsequent year.
<p> For further information see here:
<a href="http://www.trolltech.com/support/">http://www.trolltech.com/support/</a>.
<p> <hr width="30%">
<h3> Who provides training for TQt?
</h3>
<a name="1-7"></a><p> A number of companies provide TQt training, in Asia, Europe and the US.
Trolltech has agreements with a number of official training
partners, who offer Trolltech approved courses. In addition
there are a number of independently developed courses run by third
parties. You can find more information about the partners and the
courses here: <a href="http://www.trolltech.com/training/">http://www.trolltech.com/training/</a>.
<p> <hr width="30%">
<h3> Who provides consultancy for TQt?
</h3>
<a name="1-8"></a><p> A number of companies provide consultancy services for TQt and
TQtopia. You can find a partial list here:
<a href="http://www.trolltech.com/company/servicepartners.html">http://www.trolltech.com/company/servicepartners.html</a>.
<p> <hr width="30%">
<h3> Are there any books about TQt programming?
</h3>
<a name="1-9"></a><p> Yes, there are quite a few books on TQt, most of them
available from amazon.com. You can find a partial list at
<a href="http://www.trolltech.com/developer/books.html">http://www.trolltech.com/developer/books.html</a>.
<p> The official TQt book is
<a href="http://www.amazon.com/exec/obidos/ASIN/0131240722/trolltech/">C++ GUI Programming with TQt 3</a>.
<p> <hr width="30%">
<h3> What is the Open Source Edition?
</h3>
<a name="1-10"></a><p> The TQt Open Source Edition is our non-commercial versions of
TQt. You can use this edition to create and run free
software, i.e. software that is licensed under the GNU GPL or
a similarly recognized open source license.
<p> TQt Open Source edition is available for Unix/X11, Macintosh and
Linux/embedded.
<p> <hr width="30%">
<h3> What is the idea behind having a free version of TQt?
</h3>
<a name="1-11"></a><p> With the Open Source Edition, Trolltech has found a way to support
the free software concept. Part of our commitment is to enable
those who contribute to the free software pool to do so
without paying license fees.
<p> <hr width="30%">
<h3> Is there a low-cost version of TQt for writing shareware?
</h3>
<a name="1-12"></a><p> No, but TQt's commercial licenses permit you to write and sell
shareware written with TQt.
<p> <hr>
<h2> Questions about TQt's Users
</h2>
<a name="2"></a><p> <hr width="30%">
<h3> How many developers use TQt?
</h3>
<a name="2-1"></a><p> We don't know! We can count our many thousands of commercial
licensees, but the number of free software developers
using TQt can only be guessed based on download figures, book
sales, the number of open source TQt applications available on
the web, Universities teaching with TQt, and other factors. A
conservative estimate would put the figure at around 100,000 to
150,000 developers world-wide.
<p> <hr width="30%">
<h3> Which major corporations use TQt?
</h3>
<a name="2-2"></a><p> See our list of reference customers at
<a href="http://www.trolltech.com/company/customers.html">http://www.trolltech.com/company/customers.html</a>. Note that many
commercial customers do not disclose their use of TQt because they see
TQt as a competitive advantage.
<p> <hr width="30%">
<h3> Are there any well-known applications that use TQt?
</h3>
<a name="2-3"></a><p> There are many, e.g. Adobe Photoshop Album from Abobe
Corporation and the KDE desktop. A partial list can be found at
<a href="http://www.trolltech.com/products/qt/apps-using-qt.html">http://www.trolltech.com/products/qt/apps-using-qt.html</a>
<p> <hr>
<h2> Questions about Developing Applications with TQt
</h2>
<a name="3"></a><p> <hr width="30%">
<h3> Is there a mailing list for TQt?
</h3>
<a name="3-1"></a><p> Trolltech operates several mailing lists for TQt users including
<tt>qt-announce</tt>, <tt>qt-interest</tt> and <tt>snapshot-users</tt>.
<p> See <a href="http://lists.trolltech.com">Mailing lists</a>.
<p> <hr width="30%">
<h3> Is TQt's documentation available online?
</h3>
<a name="3-2"></a><p> Yes, at <a href="http://doc.trolltech.com">http://doc.trolltech.com</a>.
<p> <hr width="30%">
<h3> Is there a technical newsletter for TQt?
</h3>
<a name="3-3"></a><p> Yes, <a href="http://doc.trolltech.com/qq/index.html">TQt
Quarterly</a>. It is a paper-based newsletter exclusively
available to TQt licensees.
<p> As a courtesy and convenience to all our users, a selection of
articles is also published online about one month after publication.
<p> <hr width="30%">
<h3> I think I have found a bug in TQt. Where can I report it?
</h3>
<a name="3-4"></a><p> Bugs should be reported to <a href="mailto:[email protected]">[email protected]</a>. But <em>please</em> read (the very short)
<a href="bughowto.html">How to Report a Bug</a> page <em>first</em>.
<p> <hr>
<h2> Questions about Professional Licensing
</h2>
<a name="4"></a><p> <hr width="30%">
<h3> We have purchased a license, but the developer is leaving the company
project. Can we transfer the license to another developer?
</h3>
<a name="4-1"></a><p> Yes. TQt licences are for the individual use of named developers. If
the developer associated with a licence leaves the organization, or
moves on to another project that does not retquire a TQt license,
another developer can take over the licence. You can change the name
of the developer using a licence at any time, but after a change you
must wait at least six (6) months before changing again.
<p> <hr width="30%">
<h3> Can I purchase floating licenses for TQt?
</h3>
<a name="4-2"></a><p> No, we do not offer floating licenses.
<p> The reason is this: Floating licenses are based on the concept
of defining a maximum number of concurrent users. For example,
for a word processor, this means the maximum number of
instances of that application that can be running at any
time. However, for a library product like TQt, there is no main
application that is always running when the product is being
used. Hence, it is not possible to count the number of
concurrent users, and therefore floating licenses do not
make sense.
<p>
<p> <hr width="30%">
<h3> Can we use the Open Source Edition while developing our non-free
application and then purchase commercial licenses when we start to
sell it?
</h3>
<a name="4-3"></a><p> No: our commercial license agreements only apply to software
that was developed with TQt under the agreement. They do not
apply to code that was developed with the TQt Open Source Edition
prior to the agreement. Any software developed with TQt
without a commercial license agreement must be released as
free/open source software.
<p> <hr>
<h2> Questions about Open Source Software Licensing
</h2>
<a name="5"></a><p> <hr width="30%">
<h3> I just want to run KDE and other TQt-based software on my
machine. Can I do that with the Open Source Edition?
</h3>
<a name="5-1"></a><p> Yes. You may use the TQt Open Source Edition for running applications,
both at home and at work, without restrictions.
<p> <hr width="30%">
<h3> I want to put TQt, and applications that use it, on a CD-ROM or on
a web site. Can I do that with the Open Source Edition?
</h3>
<a name="5-2"></a><p> Yes. You may copy and redistribute the TQt Open Source Edition, both
at home and at work, without restrictions.
<p> <hr width="30%">
<h3> Can I make software with the TQt Open Source Edition and release it under
the GNU GPL, BSD, or Artistic license?
</h3>
<a name="5-3"></a><p> Yes. The GNU GPL, GPL-compatible licenses, or any other
approved open source license will do. The FSF.org and
OpenSource.org web sites list approved software licenses.
<p> <hr width="30%">
<h3> I don't want to give away my source code. What do I do?
</h3>
<a name="5-4"></a><p> You need to buy a commercial TQt license.
<p> <hr width="30%">
<h3> Is software based on the TQt Open Source Edition really free? Does it
carry any Trolltech-specific license restrictions?
</h3>
<a name="5-5"></a><p> Yes, it really is free. This is because the TQt Open Source Edition
uses the GNU GPL, which forbids the imposition of any license
restrictions on software based on the Open Source Edition that would
make it non-free. And no, there are no Trolltech-specific
license restrictions on software produced using the Open Source
Edition.
<p> <hr width="30%">
<h3> What if Trolltech stops releasing Open Source Editions of TQt?
</h3>
<a name="5-6"></a><p> We have absolutely no intention of doing that. Together with
the K Desktop Environment project, we have set up the KDE Free
TQt Foundation (see
<a href="http://www.kde.org/whatiskde/kdefreeqtfoundation.php">http://www.kde.org/whatiskde/kdefreeqtfoundation.php</a>) to
legally guarantee the availability of TQt for free software
development now and forever - even if circumstances beyound
our control prevent us from producing new free editions.
<p> <hr width="30%">
<h3> Using the Open Source Edition, can I make non-free software for internal
use in my company/organization?
</h3>
<a name="5-7"></a><p> No. Software developed with the Open Source Edition is always free
software, i.e. it can only be distributed under a free
software license. In particular, all the source code for all
the modules your software is based on, regardless of whether
they have been written by you or by others, must be free
software. This is part of our commitment to the free software
community, and enables those who contribute to the free
software pool to do so without paying license fees.
<p> Although it is possible to write free software for internal
use, it is difficult to ensure that such software is used and
distributed legally. For example, if your free software
retquires any modules that impose conditions on you that
contradict the conditions of the GNU GPL, including, but not
limited to, software patents, commercial license agreements,
copyrighted interface definitions or any sort of
non-disclosure agreement, then you cannot distribute it at
all; hence it cannot be given to consultants, employees for
their personal computers, subsidiaries, other divisions, or
even to new owners.
<p> Consequently we recommend using commercial licenses for all
internal software development.
<p> <hr width="30%">
<h3> Is TQt Open Source Edition really free software in the GNU meaning of the
word?
</h3>
<a name="5-8"></a><p> Yes - it is free software both as in "no cost" and as in
"free speech". Even more, it is actually available under the
terms of the GNU GPL. This means you can link GPL'ed software
to it, and you can take code from TQt and put it into other
GPL'ed software.
<p> <hr width="30%">
<h3> If the Open Source Edition is GNU GPL, aren't there license conflicts
with incompatible open source licenses? How come people can even
run commercial software like the Opera web browser with it?
</h3>
<a name="5-9"></a><p> If the Open Source Edition was licensed purely under the GNU GPL,
there would be problems. However, as long as TQt-based
software is either open source or was developed under a
commercial license agreement with Trolltech, we grant
permission to compile, link and run those programs with the
Open Source Edition. This is written down in our second free software
license, the TQPL.
<p> <hr width="30%">
<h3> Doesn't such an en extra license in addition to the GNU GPL
violate the terms of the GPL or at least make the whole package
GPL-incompatible?
</h3>
<a name="5-10"></a><p> No, because those extra license terms give you rights in
addition to those of the GNU GPL, including the right to
remove those extra terms.
<p> <hr width="30%">
<h3> Why is TQt Open Source Edition not distributed under the GNU Lesser
General Public License (LGPL)?
</h3>
<a name="5-11"></a><p> The LGPL is designed to "permit developers of non-free
programs to use free libraries" (quote from the LGPL). In
other words, if TQt Open Source Edition were LGPL'd, companies would
not have to purchase our commercial editions in order to make
commercial/proprietary software, they could just use the Open Source
Edition, free of charge. That would mean Trolltech would not
get the revenue necessary for improving and extending TQt.
<p> Note also that the Free Software Foundation discourages the
use of the LGPL.
<p> <hr>
<h2> Questions about other programming languages
</h2>
<a name="6"></a><p> <hr width="30%">
<h3> Are there bindings to languages other than C++?
</h3>
<a name="6-1"></a><p> Yes there are, e.g. bindings to Perl (PerlTQt) and Python
(PyTQt). These bindings were written by the open source
community and are not supported by Trolltech.
<p> <hr width="30%">
<h3> Can I develop commercial applications with PerlTQt or PyTQt or other
TQt wrappers?
</h3>
<a name="6-2"></a><p> Yes, if you have purchased a commercial license. The licensing
conditions are the same whether you use the TQt API directly in
C++, or you use it through some API wrapper in another
programming language. All developers that write code
containing calls to the TQt API (directly or through a wrapper)
need TQt licenses.
<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>TQt 3.3.8</div>
</table></div></address></body>
</html>
|