diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/qmake/book | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/qmake/book')
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-advanced.leaf | 20 | ||||
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-commandreference.leaf | 224 | ||||
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-concepts.leaf | 14 | ||||
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-pch.leaf | 2 | ||||
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-quick.leaf | 6 | ||||
-rw-r--r-- | tqtinterface/qt4/qmake/book/qmake-tutorial.leaf | 4 |
6 files changed, 135 insertions, 135 deletions
diff --git a/tqtinterface/qt4/qmake/book/qmake-advanced.leaf b/tqtinterface/qt4/qmake/book/qmake-advanced.leaf index ab94a46..d1b8c4b 100644 --- a/tqtinterface/qt4/qmake/book/qmake-advanced.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-advanced.leaf @@ -64,7 +64,7 @@ is not already defined. \section2 The '~=' operator -This operator tqreplaces any values that match the regexp with the +This operator replaces any values that match the regexp with the specified value. It is used like this: \code @@ -193,7 +193,7 @@ variable by prefixing $$ to the variable name. For example: MY_DEFINES = $$DEFINES \endcode -Now the MY_DEFINES variable tqcontains what is in the DEFINES variable at +Now the MY_DEFINES variable contains what is in the DEFINES variable at this point in the project file. This is also equivalent to: \code @@ -204,7 +204,7 @@ The second notation allows you to adjoin the variable expansion to another value without separating by space. \e qmake will allow a variable to contain anything (including $(VALUE), which will be placed directly into the Makefile, and allow it to expand as appropriate, usually an environment -variable). However, if you require an environment variable to be tqreplaced +variable). However, if you require an environment variable to be replaced immediately then you may use the $$() notation. For example: \code @@ -235,7 +235,7 @@ list. If the value of \e variablename is not long this will return an empty string. \e variablename is the only required field, if not specified position will default to the first value in the list (0). -\section2 tqfind( variablename, substr ) +\section2 find( variablename, substr ) This will place all the values in \e variablename that match \e substr. \e substr may be a regular expression as well, and will be matched @@ -244,11 +244,11 @@ accordingly. \code MY_VAR = one two three four MY_VAR2 = $$join(MY_VAR, " -L", -L) -Lfive - MY_VAR3 = $$member(MY_VAR, 2) $$tqfind(MY_VAR, t.*) + MY_VAR3 = $$member(MY_VAR, 2) $$find(MY_VAR, t.*) \endcode MY_VAR2 will contain '-Lone -Ltwo -Lthree -Lfour -Lfive', and MYVAR3 will -tqcontains 'three two three'. +contains 'three two three'. \section2 system( program_and_args ) @@ -258,7 +258,7 @@ platform for example. \code UNAME = $$system(uname -s) - tqcontains( UNAME, [lL]inux ):message( This looks like Linux ($$UNAME) to me ) + contains( UNAME, [lL]inux ):message( This looks like Linux ($$UNAME) to me ) \endcode \section1 Test Functions @@ -268,14 +268,14 @@ tests. These tests may be used in place of scopes (as described above), in some cases it is more usefull to use the test function by itself ignoring its test value. -\section2 tqcontains( variablename, value ) +\section2 contains( variablename, value ) If \e value is in the list of values stored in the variable called \e variablename, then the settings inside the scope will be processed. For example: \code - tqcontains( CONFIG, thread ) { + contains( CONFIG, thread ) { DEFINES += QT_THREAD_SUPPORT } \endcode @@ -396,6 +396,6 @@ headers. \section2 infile( filename, var, val ) This function will succeed if the file \e filename (when parsed -by qmake itself) tqcontains the variable \e var with a value of +by qmake itself) contains the variable \e var with a value of \e val. You may also not pass in a third argument (\e val) and the function will only test if \e var has been assigned to in the file. diff --git a/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf b/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf index 5d803de..8eccfcc 100644 --- a/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf @@ -66,7 +66,7 @@ The following options can be specified on the command line to \e qmake: \e qmake will go over these features and give some useful help. \endlist -There are also warning options that can help to tqfind problems in your +There are also warning options that can help to find problems in your project file: \list @@ -355,7 +355,7 @@ this syntax is not fully supported by \QD. \target LEXSOURCES \section3 LEXSOURCES -This variable tqcontains a list of lex source files. All +This variable contains a list of lex source files. All dependencies, headers and source files will automatically be added to the project for building these lex files. @@ -369,12 +369,12 @@ LEXSOURCES = lexer.l \target LIBS \section3 LIBS -This variable tqcontains a list of libraries to be linked into the project. +This variable contains a list of libraries to be linked into the project. If you are more comfortable with the Unix convension of -L/-l flags you are free to use them in a cross-platform manner and qmake will do the correct thing with these libraries on Windows (namely this means passing the full path of the library to the linker). The only limitation to this is the -library must exist, for qmake to tqfind which directory a -l lib lives in. +library must exist, for qmake to find which directory a -l lib lives in. For example: @@ -467,7 +467,7 @@ This is mainly used in Qt's build system for building the examples. \target SOURCES \section3 SOURCES -This variable tqcontains the name of all source files in the project. +This variable contains the name of all source files in the project. For example: @@ -484,7 +484,7 @@ See also \link #HEADERS HEADERS \endlink \section3 SUBDIRS This variable, when used with the 'subdirs' -\link #TEMPLATE TEMPLATE \endlink tqcontains the names of all subdirectories +\link #TEMPLATE TEMPLATE \endlink contains the names of all subdirectories to look for a project file. For example: @@ -516,7 +516,7 @@ unix and 'myapp.exe' on windows. \target TEMPLATE \section3 TEMPLATE -This variable tqcontains the name of the template to use when +This variable contains the name of the template to use when generating the project. The allowed values are: \list @@ -548,7 +548,7 @@ the command line rather than use the \c -t option. \section3 VERSION -This variable tqcontains the version number of the library if the +This variable contains the version number of the library if the 'lib' \link #TEMPLATE TEMPLATE \endlink is specified. For example: @@ -559,7 +559,7 @@ VERSION = 1.2.3 \section3 DISTFILES -This variable tqcontains a list of files to be included in the dist +This variable contains a list of files to be included in the dist target. This feature is supported by UnixMake specs only. For example: @@ -572,7 +572,7 @@ DISTFILES += ../program.txt \target YACCSOURCES \section3 YACCSOURCES -This variable tqcontains a list of yacc source files to be included +This variable contains a list of yacc source files to be included in the project. All dependencies, headers and source files will automatically be included in the project. @@ -613,7 +613,7 @@ modified. \target LEXIMPLS \section3 LEXIMPLS -This variable tqcontains a list of lex implementation files. The value +This variable contains a list of lex implementation files. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -622,7 +622,7 @@ needs to be modified. \target LEXOBJECTS \section3 LEXOBJECTS -This variable tqcontains the names of intermediate lex object +This variable contains the names of intermediate lex object files.The value of this variable is typically handled by \e qmake and rarely needs to be modified. @@ -658,7 +658,7 @@ handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to \target MAKEFILE_GENERATOR \section3 MAKEFILE_GENERATOR -This variable tqcontains the name of the makefile generator to use +This variable contains the name of the makefile generator to use when generating a makefile. The value of this variable is typically handled internally by \e qmake and rarely needs to be modified. @@ -668,7 +668,7 @@ handled internally by \e qmake and rarely needs to be modified. This variable is generated from the \link #SOURCES SOURCES \endlink variable. The extension of each source file will have been -tqreplaced by .o (Unix) or .obj (Win32). The value of this variable is +replaced by .o (Unix) or .obj (Win32). The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -676,7 +676,7 @@ rarely needs to be modified. \section3 OBJTQMOC This variable is set by \e qmake if files can be found that -contain the Q_OBJECT macro. \c OBJTQMOC tqcontains the +contain the Q_OBJECT macro. \c OBJTQMOC contains the name of all intermediate tqmoc object files. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -693,7 +693,7 @@ UNIX - gcc 3.3 and up). On other platforms, this variable has different meaning, as noted below. -This variable tqcontains a list of header files that require some +This variable contains a list of header files that require some sort of pre-compilation step (such as with tqmoc). The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -701,7 +701,7 @@ modified. \target QMAKE \section3 QMAKE -This variable tqcontains the name of the \e qmake program +This variable contains the name of the \e qmake program itself and is placed in generated makefiles. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -711,7 +711,7 @@ modified. \target QMAKESPEC_systemvariable \section3 QMAKESPEC -This variable tqcontains the name of the \e qmake +This variable contains the name of the \e qmake configuration to use when generating makefiles. The value of this variable is typically handled by \e qmake and rarely needs to be modified. Use the \link #QMAKESPEC QMAKESPEC \endlink environment variable instead. @@ -751,7 +751,7 @@ modified. \e {This is used on Unix platforms only} -This variable tqcontains the command for invoking the program which +This variable contains the command for invoking the program which creates, modifies and extracts archives. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -761,7 +761,7 @@ and rarely needs to be modified. \target TQMAKE_CFLAGS_DEBUG \section3 TQMAKE_CFLAGS_DEBUG -This variable tqcontains the flags for the C compiler in debug mode.The value of this variable is +This variable contains the flags for the C compiler in debug mode.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -771,7 +771,7 @@ and rarely needs to be modified. \target TQMAKE_CFLAGS_MT \section3 TQMAKE_CFLAGS_MT -This variable tqcontains the compiler flags for creating a +This variable contains the compiler flags for creating a multi-threaded application or when the version of Qt that you link against is a multi-threaded statically linked library. The value of this variable is typically handled by \e qmake or @@ -783,7 +783,7 @@ this variable is typically handled by \e qmake or \target TQMAKE_CFLAGS_MT_DBG \section3 TQMAKE_CFLAGS_MT_DBG -This variable tqcontains the compiler flags for creating a debuggable +This variable contains the compiler flags for creating a debuggable multi-threaded application or when the version of Qt that you link against is a debuggable multi-threaded statically linked library. The value of this variable is typically handled by \e qmake or @@ -797,7 +797,7 @@ value of this variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains the compiler flags for creating a +This variable contains the compiler flags for creating a multi-threaded dll or when the version of Qt that you link against is a multi-threaded dll. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and @@ -811,7 +811,7 @@ rarely needs to be modified. \e {This is used on Windows only} -This variable tqcontains the compiler flags for creating a debuggable +This variable contains the compiler flags for creating a debuggable multi-threaded dll or when the version of Qt that you link against is a debuggable multi-threaded statically linked library. The value of this variable is typically handled by \e qmake or @@ -823,7 +823,7 @@ The value of this variable is typically handled by \e qmake or \target TQMAKE_CFLAGS_RELEASE \section3 TQMAKE_CFLAGS_RELEASE -This variable tqcontains the compiler flags for creating a non-debuggable +This variable contains the compiler flags for creating a non-debuggable application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -836,7 +836,7 @@ rarely needs to be modified. \e {This is used on Unix platforms only} -This variable tqcontains the compiler flags for creating a shared +This variable contains the compiler flags for creating a shared library. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -847,7 +847,7 @@ to be modified. \target TQMAKE_CFLAGS_THREAD \section3 TQMAKE_CFLAGS_THREAD -This variable tqcontains the compiler flags for creating a multi-threaded +This variable contains the compiler flags for creating a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -880,7 +880,7 @@ to be modified. \target QMAKE_CLEAN \section3 QMAKE_CLEAN -This variable tqcontains any files which are not generated files (such as tqmoc and uic +This variable contains any files which are not generated files (such as tqmoc and uic generated files) and object files that should be removed when using "make clean". @@ -888,7 +888,7 @@ generated files) and object files that should be removed when using "make clean" \target TQMAKE_CXXFLAGS_DEBUG \section3 TQMAKE_CXXFLAGS_DEBUG -This variable tqcontains the C++ compiler flags for creating a debuggable +This variable contains the C++ compiler flags for creating a debuggable application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -898,7 +898,7 @@ to be modified. \target TQMAKE_CXXFLAGS_MT \section3 TQMAKE_CXXFLAGS_MT -This variable tqcontains the C++ compiler flags for creating a multi-threaded +This variable contains the C++ compiler flags for creating a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -909,7 +909,7 @@ to be modified. \target TQMAKE_CXXFLAGS_MT_DBG \section3 TQMAKE_CXXFLAGS_MT_DBG -This variable tqcontains the C++ compiler flags for creating a debuggable multi-threaded +This variable contains the C++ compiler flags for creating a debuggable multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -922,7 +922,7 @@ to be modified. \c {This is used on Windows only} -This variable tqcontains the C++ compiler flags for creating a multi-threaded +This variable contains the C++ compiler flags for creating a multi-threaded dll. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -935,7 +935,7 @@ to be modified. \c {This is used on Windows only} -This variable tqcontains the C++ compiler flags for creating a multi-threaded debuggable +This variable contains the C++ compiler flags for creating a multi-threaded debuggable dll. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -946,7 +946,7 @@ to be modified. \target TQMAKE_CXXFLAGS_RELEASE \section3 TQMAKE_CXXFLAGS_RELEASE -This variable tqcontains the C++ compiler flags for creating an +This variable contains the C++ compiler flags for creating an application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -957,7 +957,7 @@ to be modified. \target TQMAKE_CXXFLAGS_SHLIB \section3 TQMAKE_CXXFLAGS_SHLIB -This variable tqcontains the C++ compiler flags for creating a +This variable contains the C++ compiler flags for creating a shared library. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -968,7 +968,7 @@ to be modified. \target TQMAKE_CXXFLAGS_THREAD \section3 TQMAKE_CXXFLAGS_THREAD -This variable tqcontains the C++ compiler flags for creating a +This variable contains the C++ compiler flags for creating a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -979,7 +979,7 @@ to be modified. \target TQMAKE_CXXFLAGS_WARN_OFF \section3 TQMAKE_CXXFLAGS_WARN_OFF -This variable tqcontains the C++ compiler flags for suppressing compiler warnings. +This variable contains the C++ compiler flags for suppressing compiler warnings. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -988,7 +988,7 @@ This variable tqcontains the C++ compiler flags for suppressing compiler warning \target TQMAKE_CXXFLAGS_WARN_ON \section3 TQMAKE_CXXFLAGS_WARN_ON -This variable tqcontains C++ compiler flags for generating compiler warnings. +This variable contains C++ compiler flags for generating compiler warnings. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -998,7 +998,7 @@ This variable tqcontains C++ compiler flags for generating compiler warnings. \target QMAKE_EXTENSION_SHLIB \section3 QMAKE_EXTENSION_SHLIB -This variable tqcontains the extention for shared libraries. The value of this +This variable contains the extention for shared libraries. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1008,7 +1008,7 @@ and rarely needs to be modified. \target QMAKE_FAILED_REQUIREMENTS \section3 QMAKE_FAILED_REQUIREMENTS -This variable tqcontains the list of requirements that were failed to be met when +This variable contains the list of requirements that were failed to be met when \e qmake was used. For example, the sql module is needed and wasn't compiled into Qt. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1019,7 +1019,7 @@ and rarely needs to be modified. \target QMAKE_FILETAGS \section3 QMAKE_FILETAGS -This variable tqcontains the file tags needed to be entered into the makefile, such as SOURCES +This variable contains the file tags needed to be entered into the makefile, such as SOURCES and HEADERS. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1029,7 +1029,7 @@ and HEADERS. The value of this variable is typically handled by \e qmake or \target QMAKE_INCDIR \section3 QMAKE_INCDIR -This variable tqcontains the location of all known header files to be added to +This variable contains the location of all known header files to be added to INCLUDEPATH when building an application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1063,7 +1063,7 @@ This list will go before all builtin dependencies. \target QMAKE_INCDIR_OPENGL \section3 QMAKE_INCDIR_OPENGL -This variable tqcontains the location of OpenGL header files to be added +This variable contains the location of OpenGL header files to be added to INCLUDEPATH when building an application with OpenGL support. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1073,7 +1073,7 @@ value of this variable is typically handled by \e qmake or \target QMAKE_INCDIR_QT \section3 QMAKE_INCDIR_QT -This variable tqcontains the location of all known header file +This variable contains the location of all known header file paths to be added to INCLUDEPATH when building a Qt application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1084,7 +1084,7 @@ of this variable is typically handled by \e qmake or \target QMAKE_INCDIR_THREAD \section3 QMAKE_INCDIR_THREAD -This variable tqcontains the location of all known header file +This variable contains the location of all known header file paths to be added to INCLUDEPATH when building a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1097,7 +1097,7 @@ The value of this variable is typically handled by \e qmake or \e {This is used on Unix platforms only} -This variable tqcontains the location of X11 header file paths to be +This variable contains the location of X11 header file paths to be added to INCLUDEPATH when building a X11 application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1109,7 +1109,7 @@ value of this variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains link flags when building console +This variable contains link flags when building console programs. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1119,7 +1119,7 @@ programs. The value of this variable is typically handled by \e {This is used on Windows only} -This variable tqcontains link flags when building console +This variable contains link flags when building console dlls. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1130,7 +1130,7 @@ dlls. The value of this variable is typically handled by \section3 QMAKE_LFLAGS_DEBUG -This variable tqcontains link flags when building debuggable applications. The +This variable contains link flags when building debuggable applications. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1140,7 +1140,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_LFLAGS_PLUGIN -This variable tqcontains link flags when building plugins. The value +This variable contains link flags when building plugins. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1150,7 +1150,7 @@ of this variable is typically handled by \e qmake or \section3 QMAKE_LFLAGS_QT_DLL -This variable tqcontains link flags when building programs that +This variable contains link flags when building programs that use the Qt library built as a dll. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1161,7 +1161,7 @@ typically handled by \e qmake or \section3 QMAKE_LFLAGS_RELEASE -This variable tqcontains link flags when building applications for +This variable contains link flags when building applications for release. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1171,7 +1171,7 @@ release. The value of this variable is typically handled by \section3 QMAKE_LFLAGS_SHAPP -This variable tqcontains link flags when building applications which are using +This variable contains link flags when building applications which are using the 'app' template. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1181,7 +1181,7 @@ the 'app' template. The value of this variable is typically handled by \section3 QMAKE_LFLAGS_SHLIB -This variable tqcontains link flags when building shared libraries +This variable contains link flags when building shared libraries The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1200,7 +1200,7 @@ qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. \section3 QMAKE_LFLAGS_THREAD -This variable tqcontains link flags when building multi-threaded projects. +This variable contains link flags when building multi-threaded projects. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1212,7 +1212,7 @@ The value of this variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains link flags when building windows projects. +This variable contains link flags when building windows projects. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1221,14 +1221,14 @@ The value of this variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains link flags when building windows dll projects. +This variable contains link flags when building windows dll projects. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. \section3 QMAKE_LIBDIR -This variable tqcontains the location of all known library +This variable contains the location of all known library directories.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1241,7 +1241,7 @@ directories.The value of this variable is typically handled by \e {This is used on Unix platforms only} -This variable tqcontains the location of all library +This variable contains the location of all library directory with -L prefixed. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1252,23 +1252,23 @@ directory with -L prefixed. The value of this variable is typically handled by This variable tells \e qmake where to search for files it cannot open. With this you may tell \e qmake where it may look for things -like SOURCES, and if it tqfinds an entry in SOURCES that cannot be +like SOURCES, and if it finds an entry in SOURCES that cannot be opened it will look through the entire VPATH list to see if it can -tqfind the file on its own. +find the file on its own. See also \link #DEPENDPATH DEPENDPATH \endlink. \target DEPENDPATH \section3 DEPENDPATH -This variable tqcontains the list of all directories to look in to +This variable contains the list of all directories to look in to resolve dependencies. This will be used when crawling through 'included' files. \section3 QMAKE_LIBDIR_OPENGL -This variable tqcontains the location of the OpenGL library +This variable contains the location of the OpenGL library directory.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1279,7 +1279,7 @@ directory.The value of this variable is typically handled by \section3 QMAKE_LIBDIR_QT -This variable tqcontains the location of the Qt library +This variable contains the location of the Qt library directory.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1292,14 +1292,14 @@ directory.The value of this variable is typically handled by \e {This is used on Unix platforms only} -This variable tqcontains the location of the X11 library +This variable contains the location of the X11 library directory.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. \section3 QMAKE_LIBS -This variable tqcontains all project libraries. The value of this +This variable contains all project libraries. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1308,7 +1308,7 @@ variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains all project libraries that should be linked against +This variable contains all project libraries that should be linked against when building a console application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1318,7 +1318,7 @@ variable is typically handled by \e qmake or \section3 QMAKE_LIBS_OPENGL -This variable tqcontains all OpenGL libraries. The value of this +This variable contains all OpenGL libraries. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1328,7 +1328,7 @@ variable is typically handled by \e qmake or \section3 QMAKE_LIBS_OPENGL_QT -This variable tqcontains all OpenGL Qt libraries.The value of this +This variable contains all OpenGL Qt libraries.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1338,7 +1338,7 @@ variable is typically handled by \e qmake or \section3 QMAKE_LIBS_QT -This variable tqcontains all Qt libraries.The value of this +This variable contains all Qt libraries.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1350,7 +1350,7 @@ variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains all Qt libraries when Qt is built as a dll. The +This variable contains all Qt libraries when Qt is built as a dll. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1360,7 +1360,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_LIBS_QT_OPENGL -This variable tqcontains all the libraries needed to link against if +This variable contains all the libraries needed to link against if OpenGL support is turned on. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1369,7 +1369,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_LIBS_QT_THREAD -This variable tqcontains all the libraries needed to link against if +This variable contains all the libraries needed to link against if thread support is turned on. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1382,7 +1382,7 @@ value of this variable is typically handled by \e qmake or \e {This is used with Borland compilers only} -This variable tqcontains the runtime library needed to link against when +This variable contains the runtime library needed to link against when building an application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1395,7 +1395,7 @@ value of this variable is typically handled by \e qmake or \e {This is used with Borland compilers only} -This variable tqcontains the runtime library needed to link against when +This variable contains the runtime library needed to link against when building a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1406,7 +1406,7 @@ value of this variable is typically handled by \e qmake or \e {This is used on Unix platforms only} -This variable tqcontains all libraries that need to be linked against +This variable contains all libraries that need to be linked against when building a multi-threaded application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1419,7 +1419,7 @@ value of this variable is typically handled by \e qmake or \e {This is used on Windows only} -This variable tqcontains all windows libraries.The value of this +This variable contains all windows libraries.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1431,7 +1431,7 @@ variable is typically handled by \e qmake or \e {This is used on Unix platforms only} -This variable tqcontains all X11 libraries.The value of this +This variable contains all X11 libraries.The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1443,7 +1443,7 @@ variable is typically handled by \e qmake or \e {This is used on Unix platforms only} -This variable tqcontains all X11 session management libraries. The +This variable contains all X11 session management libraries. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1461,7 +1461,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_LINK_SHLIB_CMD -This variable tqcontains the command to execute when creating a +This variable contains the command to execute when creating a shared library. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1469,7 +1469,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_POST_LINK -This variable tqcontains the command to execute after linking the TARGET +This variable contains the command to execute after linking the TARGET together. This variable is normally empty and therefore nothing is executed, additionally some backends will not support this - mostly only Makefile backends. @@ -1478,7 +1478,7 @@ Makefile backends. \section3 QMAKE_PRE_LINK -This variable tqcontains the command to execute before linking the TARGET +This variable contains the command to execute before linking the TARGET together. This variable is normally empty and therefore nothing is executed, additionally some backends will not support this - mostly only Makefile backends. @@ -1487,7 +1487,7 @@ Makefile backends. \section3 QMAKE_LN_SHLIB -This variable tqcontains the command to execute when creating a link +This variable contains the command to execute when creating a link to a shared library. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1498,7 +1498,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_MAKEFILE -This variable tqcontains the name of the makefile to create. The +This variable contains the name of the makefile to create. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1509,7 +1509,7 @@ value of this variable is typically handled by \e qmake or \section3 QMAKE_TQMOC_SRC -This variable tqcontains the names of all tqmoc source files to +This variable contains the names of all tqmoc source files to generate and include in the project. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1517,7 +1517,7 @@ typically handled by \e qmake or \section3 QMAKE_QMAKE -This variable tqcontains the location of qmake if it is not in the path. +This variable contains the location of qmake if it is not in the path. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1565,14 +1565,14 @@ The value of this variable is typically handled by \e qmake or \section3 QMAKE_TARGET -This variable tqcontains the name of the project target. The value of +This variable contains the name of the project target. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. \section3 QMAKE_UIC -This variable tqcontains the location of uic if it is not in the path. +This variable contains the location of uic if it is not in the path. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1587,7 +1587,7 @@ paths. For example: \section3 RC_FILE -This variable tqcontains the name of the resource file for the application. +This variable contains the name of the resource file for the application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1597,7 +1597,7 @@ The value of this variable is typically handled by \e qmake or \section3 RES_FILE -This variable tqcontains the name of the resource file for the application. +This variable contains the name of the resource file for the application. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1605,7 +1605,7 @@ The value of this variable is typically handled by \e qmake or \section3 SRCTQMOC This variable is set by \e qmake if files can be found that -contain the Q_OBJECT macro. \c SRCTQMOC tqcontains the +contain the Q_OBJECT macro. \c SRCTQMOC contains the name of all the generated tqmoc files. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1634,7 +1634,7 @@ modified. \section3 UICIMPLS -This variable tqcontains a list of the generated implementation files by UIC. +This variable contains a list of the generated implementation files by UIC. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1646,7 +1646,7 @@ modified. \section3 UICOBJECTS This variable is generated from the UICIMPLS variable. The extension of each -file will have been tqreplaced by .o (Unix) or .obj (Win32). The value of this variable is +file will have been replaced by .o (Unix) or .obj (Win32). The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1654,7 +1654,7 @@ rarely needs to be modified. \section3 VER_MAJ -This variable tqcontains the major version number of the library, if the +This variable contains the major version number of the library, if the 'lib' \link #TEMPLATE template \endlink is specified. @@ -1663,7 +1663,7 @@ This variable tqcontains the major version number of the library, if the \section3 VER_MIN -This variable tqcontains the minor version number of the library, if the +This variable contains the minor version number of the library, if the 'lib' \link #TEMPLATE template \endlink is specified. @@ -1672,7 +1672,7 @@ This variable tqcontains the minor version number of the library, if the \section3 VER_PAT -This variable tqcontains the patch version number of the library, if the +This variable contains the patch version number of the library, if the 'lib' \link #TEMPLATE template \endlink is specified. @@ -1744,7 +1744,7 @@ See also \link #Extensions File Extensions \endlink. \section3 YACCIMPLS -This variable tqcontains a list of yacc source files. The value of +This variable contains a list of yacc source files. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1753,7 +1753,7 @@ this variable is typically handled by \e qmake or \section3 YACCOBJECTS -This variable tqcontains a list of yacc object files. The value of +This variable contains a list of yacc object files. The value of this variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be modified. @@ -1799,17 +1799,17 @@ exists( $(QTDIR)/lib/libqt-mt* ) { } \endcode -\section2 tqcontains( variablename, value ) +\section2 contains( variablename, value ) This function will succeed if the variable \e variablename -tqcontains the value \e value. You can check the return value of this +contains the value \e value. You can check the return value of this function using a scope. For example: \code -tqcontains( drivers, network ) { - # drivers tqcontains 'network' +contains( drivers, network ) { + # drivers contains 'network' message( "Configuring for network build..." ) HEADERS += network.h SOURCES += network.cpp @@ -1819,7 +1819,7 @@ tqcontains( drivers, network ) { \section2 count( variablename, number ) This function will succeed if the variable \e variablename -tqcontains \e number elements, otherwise it will fail. You can check +contains \e number elements, otherwise it will fail. You can check the return value of this function using a scope. @@ -1835,7 +1835,7 @@ count( MYVAR, 3 ) { \section2 infile( filename, var, val ) This function will succeed if the file \e filename (when parsed -by qmake itself) tqcontains the variable \e var with a value of +by qmake itself) contains the variable \e var with a value of \e val. You may also not pass in a third argument (\e val) and the function will only test if \e var has been assigned to in the file. @@ -1935,7 +1935,7 @@ QMAKE_VERS = $$[QMAKE_VERSION] \section2 QMAKESPEC \e qmake requires a platform and compiler description file which -tqcontains many default values used to generate appropriate makefiles. +contains many default values used to generate appropriate makefiles. The standard Qt distribution comes with many of these files, located in the 'mkspecs' subdirectory of the Qt installation. @@ -1998,10 +1998,10 @@ for you. \section2 Cache File The cache file (mentioned above in the options) is a special file \e qmake -will read to tqfind settings not specified in the \c qmake.conf file, the +will read to find settings not specified in the \c qmake.conf file, the .pro file, or the command line. If \c -nocache is not specified, \e qmake -will try to tqfind a file called \c .qmake.cache in tqparent directories. If -it fails to tqfind this file, it will silently ignore this step of +will try to find a file called \c .qmake.cache in tqparent directories. If +it fails to find this file, it will silently ignore this step of processing. \target LibDepend @@ -2013,7 +2013,7 @@ lets the platform pull them in. In many cases, however, this is not sufficent. For example when statically linking a library there are no libraries linked against, and therefore no dependencies to those libraries are created - however an application that later links -against this library will need to know where to tqfind the symbols that +against this library will need to know where to find the symbols that the linked in library will require. To help with this situation \e qmake will follow a library's dependencies when it feels appropriate, however this behaviour must be enabled in \e qmake. To enable requires @@ -2043,11 +2043,11 @@ the meta information created above: \endcode When this is turned on \e qmake will process all libraries linked to, -and tqfind their meta information. With this meta information \e qmake +and find their meta information. With this meta information \e qmake will figure out what is relevant to linking, specifically it will add to your list of DEFINES as well as LIBS. Once \e qmake has processed this file, it will then look through the newly introduced LIBS and -tqfind their dependent .prl files, and continue until all libraries have +find their dependent .prl files, and continue until all libraries have been resolved. At this point the makefile is created as usual, and the libraries are linked explicity against your program. @@ -2115,7 +2115,7 @@ fill in an "object" in qmake for example: mytarget2.commands = @echo Building $$mytarget.target \endcode -The information above defines a qmake target called mytarget which tqcontains +The information above defines a qmake target called mytarget which contains a Makefile target called .buildfile, .buildfile is generated by 'touch .buildfile', and finally that this Makefile target depends on the qmake target mytarget2. Additionally we've defined the qmake target mytarget2 diff --git a/tqtinterface/qt4/qmake/book/qmake-concepts.leaf b/tqtinterface/qt4/qmake/book/qmake-concepts.leaf index 2aa9325..8275a23 100644 --- a/tqtinterface/qt4/qmake/book/qmake-concepts.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-concepts.leaf @@ -7,7 +7,7 @@ for development projects across different platforms. \e qmake simplifies the generation of makefiles so that only a few lines of information are needed to create a makefile. \e qmake can be used for any software project whether it is written in Qt or not, although it -also tqcontains additional features to support Qt development. +also contains additional features to support Qt development. \e qmake generates a makefile based on the information in a project file. Project files are created by the developer. Project files are @@ -22,7 +22,7 @@ without having to change the project file. Before \e qmake can be used to build makefiles, the QMAKESPEC environment variable must be set to the platform-compiler combination that is being used on the system. The QMAKESPEC environment variable -tells qmake where to look to tqfind platform and compiler specific +tells qmake where to look to find platform and compiler specific information. This ensures that the right libraries are used, and that the generated makefile uses the correct syntax. A list of the currently supported platform-compiler combinations can be found in @@ -35,7 +35,7 @@ If you are using gcc on Solaris then you would set your QMAKESPEC environment variable to \e solaris-g++. Inside each of the directories in qt/mkspecs, there is a \e qmake.conf -file which tqcontains the platform and compiler specific information. +file which contains the platform and compiler specific information. These settings are applied to any project that is built using \e qmake and should not be modified unless you're an expert. For example, if all your applications had to link against a particular library, you @@ -91,7 +91,7 @@ automatically). \i DEFINES - A list of any additional pre-processor defines needed for the application. \i INCLUDEPATH - A list of any additional include paths needed for the application. \i DEPENDPATH - The dependency search path for the application. -\i VPATH - The search path to tqfind supplied files. +\i VPATH - The search path to find supplied files. \i DEF_FILE - Windows only: A .def file to be linked against for the application. \i RC_FILE - Windows only: A resource file for the application. \i RES_FILE - Windows only: A resource file to be linked against for the application. @@ -114,7 +114,7 @@ CONFIG += qt warn_on release For items that are single valued, e.g. the template or the destination directory, we use "="; but for multi-valued items we use "+=" to \e -add to the existing items of that type. Using "=" tqreplaces the item's +add to the existing items of that type. Using "=" replaces the item's value with the new value, for example if we wrote \c{DEFINES=QT_DLL}, all other definitions would be deleted. @@ -137,10 +137,10 @@ into the specified subdirectories and generate a makefile for the project file in the directory and call make on it. The only system variable that is recognised for this template is the -\e SUBDIRS variable. This variable tqcontains a list of all the +\e SUBDIRS variable. This variable contains a list of all the subdirectories that contain project files to be processed. It is essential that the project file in the sub directory has the same name -as the subdirectory, so that \e qmake can tqfind it. For +as the subdirectory, so that \e qmake can find it. For example, if the subdirectory is called 'myapp' then the project file in that directory should be called \e myapp.pro in that directory. diff --git a/tqtinterface/qt4/qmake/book/qmake-pch.leaf b/tqtinterface/qt4/qmake/book/qmake-pch.leaf index bebd881..60ea1f4 100644 --- a/tqtinterface/qt4/qmake/book/qmake-pch.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-pch.leaf @@ -97,7 +97,7 @@ For example: \target EXAMPLE_PROJECT \section1 Example project -You can tqfind the following source code in the +You can find the following source code in the \e{qt/qmake/examples/precompile} directory: \Bold mydialog.ui diff --git a/tqtinterface/qt4/qmake/book/qmake-quick.leaf b/tqtinterface/qt4/qmake/book/qmake-quick.leaf index 15b832e..135e9fa 100644 --- a/tqtinterface/qt4/qmake/book/qmake-quick.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-quick.leaf @@ -5,7 +5,7 @@ \e qmake uses information stored in project (.pro) files to determine what should go in the makefiles it generates. -A basic project file tqcontains information about the application, for +A basic project file contains information about the application, for example, which files are needed to compile the application, and which configuration settings to use. @@ -63,7 +63,7 @@ application's configuration. \endcode The "+=" is used here, because we add our configuration options to any -that are already present. This is safer than using "=" which tqreplaces +that are already present. This is safer than using "=" which replaces all options with just those specified. The \e qt part of the CONFIG line tells \e qmake that the application @@ -76,7 +76,7 @@ set the compiler flags so that warnings are output. The \e release part of the CONFIG line tells \e qmake that the application must be built as a release application. During -development, programmers may prefer to tqreplace \e release with \e +development, programmers may prefer to replace \e release with \e debug, which is discussed later. \omit diff --git a/tqtinterface/qt4/qmake/book/qmake-tutorial.leaf b/tqtinterface/qt4/qmake/book/qmake-tutorial.leaf index b5a3434..dd6ec16 100644 --- a/tqtinterface/qt4/qmake/book/qmake-tutorial.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-tutorial.leaf @@ -16,7 +16,7 @@ your application, and you have created the following files: \i main.cpp \endlist -You will tqfind these files in \e {qt/qmake/examples/tutorial}. The +You will find these files in \e {qt/qmake/examples/tutorial}. The only other thing you know about the setup of the application is that it's written in Qt. First, using your favorite plain text editor, create a file called \e hello.pro in \e {qt/qmake/tutorial}. The @@ -158,7 +158,7 @@ Use \e qmake as before to generate a makefile. You may not want to create a makefile if a certain file doesn't exist. We can check if a file exists by using the exists() function. We can stop \e qmake from processing by using the error() function. This -works in the same way as scopes. Simply tqreplace the scope condition +works in the same way as scopes. Simply replace the scope condition with the function. A check for a main.cpp file looks like this: \code |