diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 16:03:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 16:03:48 +0900 |
commit | 3e98ce7f85f06e95ad121c6f541d14464d85919e (patch) | |
tree | f02992c00911ec6ba24f243aebf96d98fa0d39a1 /doc/misc.doc | |
parent | 9f5d59f33644aaadd7af43db86734a3294250a02 (diff) | |
download | tqt3-3e98ce7f85f06e95ad121c6f541d14464d85919e.tar.gz tqt3-3e98ce7f85f06e95ad121c6f541d14464d85919e.zip |
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/misc.doc')
-rw-r--r-- | doc/misc.doc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/misc.doc b/doc/misc.doc index 007ee6399..4164528da 100644 --- a/doc/misc.doc +++ b/doc/misc.doc @@ -83,14 +83,14 @@ Qt programs need the following components of a TQt distribution: are usually located in the \c include subdirectory of TQt distributions. Care must be taken to include the header files of the relevant release of Qt. Those with a command-line compiler will typically use options such as -\c{/I%QTDIR%\include} or \c{-I"$QTDIR"/include} provided \c QTDIR specifies +\c{/I%TQTDIR%\include} or \c{-I"$TQTDIR"/include} provided \c TQTDIR specifies the relevant release of Qt. <dt>Meta Object Compiler and other tools - Compile time <dd>Programmers need to run \e moc and other tools such as \e uic. These tools are usually located in the \c bin subdirectory of TQt distributions. -Either run \c "$QTDIR"/bin/moc and \c "$QTDIR"/bin/uic or add \c "$QTDIR"/bin +Either run \c "$TQTDIR"/bin/moc and \c "$TQTDIR"/bin/uic or add \c "$TQTDIR"/bin to your \c PATH and run \c moc and \c uic. If you use \c qmake the appropriate lines will be added to your Makefiles so that \e uic and \e moc will be executed as required. @@ -101,7 +101,7 @@ appropriate lines will be added to your Makefiles so that \e uic and libraries are usually located in the \c lib subdirectory of TQt distributions. Care must be taken to link with the libraries of the relevant release of Qt. Those with a command-line compiler will typically use options such as -\c{/L%QTDIR%\lib\qt.lib} or \c{-L"$QTDIR"/lib} \c -lqt provided \c QTDIR +\c{/L%TQTDIR%\lib\qt.lib} or \c{-L"$TQTDIR"/lib} \c -lqt provided \c TQTDIR specifies the relevant release of Qt. <dt>Shared libraries - Run time @@ -160,7 +160,7 @@ or similar) and TQt 2.x (\c qt2 or similar). \endlist Just install the packages, \c qt2, \c qt3, and \c qt3-dev. You may -need to set the environment variable \c QTDIR to point to TQt 3.x. +need to set the environment variable \c TQTDIR to point to TQt 3.x. \target qtsrc \section2 Developers building for two versions of TQt on Unix - TQt sources @@ -187,14 +187,14 @@ Get the source distributions of both TQt 2.x and TQt 3.x. $ cd /opt $ gunzip -c \c qt-x11-2.3.1.tar.gz | tar xf - $ cd qt-2.3.1 -$ setenv QTDIR /opt/qt-2.3.1 +$ setenv TQTDIR /opt/qt-2.3.1 $ configure [options] $ make $ cd /opt $ gunzip -c qt-x11-free-3.0.0.tar.gz | tar xf - $ cd qt-3.0.0 -$ setenv QTDIR /opt/qt-3.0.0 +$ setenv TQTDIR /opt/qt-3.0.0 $ configure [options] $ make \endcode @@ -219,20 +219,20 @@ ln -s /opt/qt-3.0.0/lib/libtqui.so.1 . To develop with TQt 2.x use: \code -setenv QTDIR /opt/qt-2.3.1 -setenv PATH ${QTDIR}/bin:${PATH} +setenv TQTDIR /opt/qt-2.3.1 +setenv PATH ${TQTDIR}/bin:${PATH} \endcode To develop with TQt 3.x use: \code -setenv QTDIR /opt/qt-3.0.0 -setenv PATH ${QTDIR}/bin:${PATH} +setenv TQTDIR /opt/qt-3.0.0 +setenv PATH ${TQTDIR}/bin:${PATH} \endcode -Setting \c QTDIR ensures that the proper resources are used, such as the +Setting \c TQTDIR ensures that the proper resources are used, such as the documentation appropriate to the version of TQt you're using. Also -your Makfiles may refer to \c "$QTDIR"/include and \c "$QTDIR"/lib to +your Makfiles may refer to \c "$TQTDIR"/include and \c "$TQTDIR"/lib to include the proper header files and link with the proper libraries. Setting the \c PATH ensures that the proper version of moc and other tools is being used. |