Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

The TQt FAQ

See also the Technical FAQ.


General Questions


What is TQt?

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.

TQt is supported on the following platforms:

It has become the emerging standard development environment for IT professionals who want to:


What is Trolltech?

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.

Trolltech ASA was founded in 1994, although, the core team of designers started TQt's development in 1992.

More details can be found at Trolltech.


How can I evaluate TQt?

We offer 30 day evaluation versions of TQt on all our supported platforms. Further details can be found here: http://www.trolltech.com/evaluate.html.


What does TQt cost?

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).

We also offer discounts for academic and research institutions.

Details on pricing can be found here: http://www.trolltech.com/pricing.html.


How can I buy TQt?

To purchase, please visit the Trolltech webshop. In the webshop, you can generate a Purchase Order, order a Quote, or purchase directly using a credit card.

For further information and assistance, please contact Trolltech sales:

Email: sales@trolltech.com Phone, US office (for North America): (+1) 650-813-1676 Phone, Norway office (for others): +47 2160 4800


What kind of technical support is available for TQt?

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.

For further information see here: http://www.trolltech.com/support/.


Who provides training for TQt?

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: http://www.trolltech.com/training/.


Who provides consultancy for TQt?

A number of companies provide consultancy services for TQt and TQtopia. You can find a partial list here: http://www.trolltech.com/company/servicepartners.html.


Are there any books about TQt programming?

Yes, there are quite a few books on TQt, most of them available from amazon.com. You can find a partial list at http://www.trolltech.com/developer/books.html.

The official TQt book is C++ GUI Programming with TQt 3.


What is the Open Source Edition?

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.

TQt Open Source edition is available for Unix/X11 and Macintosh.


What is the idea behind having a free version of TQt?

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.


Is there a low-cost version of TQt for writing shareware?

No, but TQt's commercial licenses permit you to write and sell shareware written with TQt.


Questions about TQt's Users


How many developers use TQt?

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.


Which major corporations use TQt?

See our list of reference customers at http://www.trolltech.com/company/customers.html. Note that many commercial customers do not disclose their use of TQt because they see TQt as a competitive advantage.


Are there any well-known applications that use TQt?

There are many, e.g. Adobe Photoshop Album from Abobe Corporation and the KDE desktop. A partial list can be found at http://www.trolltech.com/products/qt/apps-using-ntqt.html


Questions about Developing Applications with TQt


Is there a mailing list for TQt?

Trolltech operates several mailing lists for TQt users including qt-announce, qt-interest and snapshot-users.

See Mailing lists.


Is TQt's documentation available online?

Yes, at http://doc.trolltech.com.


Is there a technical newsletter for TQt?

Yes, TQt Quarterly. It is a paper-based newsletter exclusively available to TQt licensees.

As a courtesy and convenience to all our users, a selection of articles is also published online about one month after publication.


I think I have found a bug in TQt. Where can I report it?

Bugs should be reported to qt-bugs@trolltech.com. But please read (the very short) How to Report a Bug page first.


Questions about Professional Licensing


We have purchased a license, but the developer is leaving the company project. Can we transfer the license to another developer?

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 require 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.


Can I purchase floating licenses for TQt?

No, we do not offer floating licenses.

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.


Can we use the Open Source Edition while developing our non-free application and then purchase commercial licenses when we start to sell it?

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.


Questions about Open Source Software Licensing


I just want to run KDE and other TQt-based software on my machine. Can I do that with the Open Source Edition?

Yes. You may use the TQt Open Source Edition for running applications, both at home and at work, without restrictions.


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?

Yes. You may copy and redistribute the TQt Open Source Edition, both at home and at work, without restrictions.


Can I make software with the TQt Open Source Edition and release it under the GNU GPL, BSD, or Artistic license?

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.


I don't want to give away my source code. What do I do?

You need to buy a commercial TQt license.


Is software based on the TQt Open Source Edition really free? Does it carry any Trolltech-specific license restrictions?

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.


What if Trolltech stops releasing Open Source Editions of TQt?

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 http://www.kde.org/whatiskde/kdefreeqtfoundation.php) 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.


Using the Open Source Edition, can I make non-free software for internal use in my company/organization?

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.

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 requires 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.

Consequently we recommend using commercial licenses for all internal software development.


Is TQt Open Source Edition really free software in the GNU meaning of the word?

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.


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?

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.


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?

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.


Why is TQt Open Source Edition not distributed under the GNU Lesser General Public License (LGPL)?

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.

Note also that the Free Software Foundation discourages the use of the LGPL.


Questions about other programming languages


Are there bindings to languages other than C++?

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.


Can I develop commercial applications with PerlTQt or PyTQt or other TQt wrappers?

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.


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8