⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qmake-manual-7.html

📁 QT 下载资料仅供参考
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<p><em>This is used on Windows only</em></p><p>This variable contains link flags when building windows projects. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-59"></a>QMAKE_LFLAGS_WINDOWS_DLL</h5><p><em>This is used on Windows only</em></p><p>This variable contains link flags when building windows dll projects. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-60"></a>QMAKE_LIBDIR</h5><p>This variable contains the location of all known library directories.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-61"></a>QMAKE_LIBDIR_FLAGS</h5><p><em>This is used on Unix platforms only</em></p><p>This variable contains the location of all library directory with -L prefixed. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-62"></a>VPATH</h5><p>This variable tells <em>qmake</em> where to search for files it cannot open. With this you may tell <em>qmake</em> where it may look for things 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 find the file on its own.</p><p>See also <a href="qmake-manual-7.html#DEPENDPATH">DEPENDPATH</a>.</p><a name="DEPENDPATH"></a><h5><a name="4-2-63"></a>DEPENDPATH</h5><p>This variable contains the list of all directories to look in to resolve dependencies. This will be used when crawling through 'included' files.</p><h5><a name="4-2-64"></a>QMAKE_LIBDIR_OPENGL</h5><p>This variable contains the location of the OpenGL library directory.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-65"></a>QMAKE_LIBDIR_QT</h5><p>This variable contains the location of the Qt library directory.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-66"></a>QMAKE_LIBDIR_X11</h5><p><em>This is used on Unix platforms only</em></p><p>This variable contains the location of the X11 library directory.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-67"></a>QMAKE_LIBS</h5><p>This variable contains all project libraries. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-68"></a>QMAKE_LIBS_CONSOLE</h5><p><em>This is used on Windows only</em></p><p>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 <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-69"></a>QMAKE_LIBS_OPENGL</h5><p>This variable contains all OpenGL libraries. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-70"></a>QMAKE_LIBS_OPENGL_QT</h5><p>This variable contains all OpenGL Qt libraries.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-71"></a>QMAKE_LIBS_QT</h5><p>This variable contains all Qt libraries.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-72"></a>QMAKE_LIBS_QT_DLL</h5><p><em>This is used on Windows only</em></p><p>This variable contains all Qt libraries when Qt is built as a dll. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-73"></a>QMAKE_LIBS_QT_OPENGL</h5><p>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 <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-74"></a>QMAKE_LIBS_QT_THREAD</h5><p>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 <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-75"></a>QMAKE_LIBS_RT</h5><p><em>This is used with Borland compilers only</em></p><p>This variable contains the runtime library needed to link against when building an application. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-76"></a>QMAKE_LIBS_RTMT</h5><p><em>This is used with Borland compilers only</em></p><p>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 <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-77"></a>QMAKE_LIBS_THREAD</h5><p><em>This is used on Unix platforms only</em></p><p>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 <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-78"></a>QMAKE_LIBS_WINDOWS</h5><p><em>This is used on Windows only</em></p><p>This variable contains all windows libraries.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-79"></a>QMAKE_LIBS_X11</h5><p><em>This is used on Unix platforms only</em></p><p>This variable contains all X11 libraries.The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-80"></a>QMAKE_LIBS_X11SM</h5><p><em>This is used on Unix platforms only</em></p><p>This variable contains all X11 session management libraries. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-81"></a>QMAKE_LIB_FLAG</h5><p>This variable is not empty if the 'lib' template is specified. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-82"></a>QMAKE_LINK_SHLIB_CMD</h5><p>This variable contains the command to execute when creating a shared library. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-83"></a>QMAKE_LN_SHLIB</h5><p>This variable contains the command to execute when creating a link to a shared library. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-84"></a>QMAKE_MAKEFILE</h5><p>This variable contains the name of the makefile to create. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-85"></a>QMAKE_MOC_SRC</h5><p>This variable contains the names of all moc source files to generate and include in the project. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-86"></a>QMAKE_QMAKE</h5><p>This variable contains the location of qmake if it is not in the path. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-87"></a>QMAKE_QT_DLL</h5><p>This variable is not empty if Qt was built as a dll. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-88"></a>QMAKE_RUN_CC</h5><p>This variable specifies the individual rule needed to build an object. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-89"></a>QMAKE_RUN_CC_IMP</h5><p>This variable specifies the individual rule needed to build an object. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-90"></a>QMAKE_RUN_CXX</h5><p>This variable specifies the individual rule needed to build an object. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-91"></a>QMAKE_RUN_CXX_IMP</h5><p>This variable specifies the individual rule needed to build an object. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-92"></a>QMAKE_TARGET</h5><p>This variable contains the name of the project target. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-93"></a>RC_FILE</h5><p>This variable contains the name of the resource file for the application. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-94"></a>RES_FILE</h5><p>This variable contains the name of the resource file for the application. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-95"></a>SRCMOC</h5><p>This variable is set by <em>qmake</em> if files can be found that contain the Q_OBJECT macro. <tt>SRCMOC</tt> contains the name of all the generated moc files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-96"></a>TARGET_EXT</h5><p>This variable specifies the target's extension. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-97"></a>TARGET_x</h5><p>This variable specifies the target's extension with a major version number. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-98"></a>TARGET_x.y.z</h5><p>This variable specifies the target's extension with version number. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-99"></a>UICIMPLS</h5><p>This variable contains a list of the generated implementation files by UIC. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-100"></a>UICOBJECTS</h5><p>This variable is generated from the UICIMPLS variable. The extension of each file will have been replaced by .o (Unix) or .obj (Win32). The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-101"></a>VER_MAJ</h5><p>This variable contains the major version number of the library, if the 'lib' <a href="qmake-manual-7.html#TEMPLATE">template</a> is specified.</p><h5><a name="4-2-102"></a>VER_MIN</h5><p>This variable contains the minor version number of the library, if the 'lib' <a href="qmake-manual-7.html#TEMPLATE">template</a> is specified.</p><h5><a name="4-2-103"></a>VER_PAT</h5><p>This variable contains the patch version number of the library, if the 'lib' <a href="qmake-manual-7.html#TEMPLATE">template</a> is specified.</p><h5><a name="4-2-104"></a>QMAKE_EXT_MOC</h5><p>This variable changes the extention used on included moc files.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>.</p><h5><a name="4-2-105"></a>QMAKE_EXT_UI</h5><p>This variable changes the extention used on /e Designer UI files.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>.</p><h5><a name="4-2-106"></a>QMAKE_EXT_PRL</h5><p>This variable changes the extention used on created PRL files.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>, <a href="qmake-manual-7.html#LibDepend">Library Dependencies</a>.</p><h5><a name="4-2-107"></a>QMAKE_EXT_LEX</h5><p>This variable changes the extention used on files given to lex.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>, <a href="qmake-manual-7.html#LEXSOURCES">LEXSOURCES</a>.</p><h5><a name="4-2-108"></a>QMAKE_EXT_YACC This variable changes the extention used on files given to yacc.</h5><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>, <a href="qmake-manual-7.html#LEXSOURCES">YACCSOURCES</a>.</p><h5><a name="4-2-109"></a>QMAKE_EXT_OBJ</h5><p>This variable changes the extention used on generated object files.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>.</p><h5><a name="4-2-110"></a>QMAKE_EXT_CPP</h5><p>This variable changes the interpretation of all suffixes in this list of values as files of type C++ source code.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>.</p><h5><a name="4-2-111"></a>QMAKE_EXT_H</h5><p>This variable changes the interpretation of all suffixes in this list of values as files of type C header files.</p><p>See also <a href="qmake-manual-7.html#Extensions">File Extensions</a>.</p><h5><a name="4-2-112"></a>YACCIMPLS</h5><p>This variable contains a list of yacc source files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><h5><a name="4-2-113"></a>YACCOBJECTS</h5><p>This variable contains a list of yacc object files. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-7.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p><a name="Functions"></a><h3><a name="5"></a>Functions</h3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -