/**************************************************************************** ** ** Miscellaneous documentation that doesn't fit anywhere else ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** ** This file is part of the Qt GUI Toolkit. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** This file may be used under the terms of the Q Public License as ** defined by Trolltech ASA and appearing in the file LICENSE.QPL ** included in the packaging of this file. Licensees holding valid Qt ** Commercial licenses may use this file in accordance with the Qt ** Commercial License Agreement provided with the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** **********************************************************************/ /*! \page commonproblems.html \title Brief Technical FAQ This document describes how to use more than one Qt version on one machine and how to use Qt on X11 without a window manager. In addition it explains the most common source of link errors with Qt. Other frequently asked questions can be found in the \link http://www.trolltech.com/developer/faqs/ FAQ index\endlink and in the \link http://www.trolltech.com/developer/faqs/technical.html Technical FAQ\endlink. \list \i \link #linkerror Link error, complaining about a lack of vtbl, _vtbl, __vtbl or similar\endlink \i \link #diffver Using different versions of Qt on the same machine\endlink \list \i \link #qtbin Developers building for a single version of Qt on Unix - Qt binary packages\endlink \i \link #qtsrc Developers building for two versions of Qt on Unix - Qt sources\endlink \endlist \i \link #nowinman Using Qt on X11 without a window manager\endlink \i \link distributingqt.html Distributing Qt Applications\endlink \endlist \target linkerror \section1 Link error, complaining about a lack of \c vtbl, \c _vtbl, \c __vtbl or similar This indicates that you've included the Q_OBJECT macro in a class declaration and probably also run the moc, but forgot to link the moc-generated object code into your executable. See \link moc.html Using the Meta Object Compiler\endlink for details on how to use moc. \target diffver \section1 Using different versions of Qt on the same machine Qt programs need the following components of a Qt distribution:
a. Modifications must not alter or remove any copyright notices in the Software. b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer.4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions:
a. You must include this license document in the distribution. b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license.5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements:
a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one.
\link mailto:info@trolltech.com info@trolltech.com\endlink | \link mailto:sales@trolltech.com sales@trolltech.com\endlink | ||||
General inquiries and questions. Please check the \link http://www.trolltech.com/faq/ FAQ\endlink to see if your question is already answered there. | Inquires related to purchasing, pricing and availability of Trolltech products | ||||
\link mailto:www@trolltech.com www@trolltech.com\endlink | \link mailto:qt-bugs@trolltech.com qt-bugs@trolltech.com\endlink | ||||
Comments about our web pages | Use this address for bug reports; \e please read (the very short) \link bughowto.html How to Report a Bug\endlink page \e first. | ||||
Note that Trolltech uses the \link http://mail-abuse.org/rbl/ RBL\endlink and \link http://work-rss.mail-abuse.org/rss/ RSS\endlink databases to cut down on spam. If your mail server is listed, you will regrettably not be able to send us mail. The \link http://www.mail-abuse.org/tsi/ MAPS TSI\endlink pages provide information about how to secure your server. | |||||
| |||||
Norway Office | |||||
Telephone | Street/Mail Address | ||||
General inquiries: +47 21 60 48 00 | Sandakerveien 116 PO Box 4332 Nydalen NO-0402 Oslo Norway | ||||
Telefax | |||||
All inquiries: +47 21 60 48 01 | |||||
| |||||
USA Office | |||||
Telephone | Street/Mail Address | ||||
General inquiries: (+1) 650-551-1676 | 555 Twin Dolphin Drive Suite 280 Redwood City, CA 94065 USA | ||||
Telefax | |||||
All inquiries: (+1) 650-551-1851 |