Home · Overviews · Reference · Classes |
QBuild supports several types of variables.
Normal variables are denoted by $$ and can be braced with {} for disambiguation. For example,
FOO=$$BAR FOO=$${BAR}
Qt variables are braced with []. For example,
FOO=$$[BAR]
Environment variables are braced with (). For example,
FOO=$$(BAR)
Function calls also use the normal variable syntax. See QBuild Functions for more information on these functions.
AVAILABLE_LANGUAGES | |
---|---|
CONFIG | The CONFIG variable loads extensions and controls many functions. |
DEPENDS | |
DEPENDS.AUTO_PERSIST | |
EXTRA_TS_FILES | |
FORMS | The FORMS variable selects .ui files to build. |
HEADERS | The HEADERS variable lists header files used by the project. For libraries that are modules, these headers are installed into the SDK. |
HEADERS_NAME | The HEADERS_NAME variable allows a name other than MODULE_NAME to be used for the include directory. |
LANGUAGES | |
LIBS | The LIBS variable is used to add libs to the link line. |
MKSPEC.AR | |
MKSPEC.CC | |
MKSPEC.CFLAGS | |
MKSPEC.CFLAGS_DEBUG | |
MKSPEC.CFLAGS_HIDESYMS | |
MKSPEC.CFLAGS_OPTBASE | |
MKSPEC.CFLAGS_OPTMORE | |
MKSPEC.CFLAGS_PIC | |
MKSPEC.CFLAGS_RELEASE | |
MKSPEC.CFLAGS_THREAD | |
MKSPEC.CFLAGS_WARN_OFF | |
MKSPEC.CFLAGS_WARN_ON | |
MKSPEC.CXX | |
MKSPEC.CXXFLAGS | |
MKSPEC.CXXFLAGS_DEBUG | |
MKSPEC.CXXFLAGS_DISABLE_EXCEPTIONS | |
MKSPEC.CXXFLAGS_DISABLE_RTTI | |
MKSPEC.CXXFLAGS_HIDESYMS | |
MKSPEC.CXXFLAGS_OPTBASE | |
MKSPEC.CXXFLAGS_OPTMORE | |
MKSPEC.CXXFLAGS_RELEASE | |
MKSPEC.CXXFLAGS_WARN_OFF | |
MKSPEC.CXXFLAGS_WARN_ON | |
MKSPEC.DEL_FILE | |
MKSPEC.INSTALL_DIR | |
MKSPEC.INSTALL_FILE | |
MKSPEC.INSTALL_PROGRAM | |
MKSPEC.LFLAGS | |
MKSPEC.LFLAGS_DEBUG | |
MKSPEC.LFLAGS_OPTIMIZE | |
MKSPEC.LFLAGS_PLUGIN | |
MKSPEC.LFLAGS_RELEASE | |
MKSPEC.LFLAGS_SHLIB | |
MKSPEC.LFLAGS_SONAME | |
MKSPEC.MKDIR | |
MKSPEC.RPATH | |
MKSPEC.STRIP | |
MKSPEC.STRIPFLAGS_SHLIB | |
MKSPEC.SYMBOLIC_LINK | |
MOC_COMPILE_EXCEPTIONS | Support for a qmake feature. |
MOC_IGNORE | tell moc to ignore files |
MODULES | |
MODULE_NAME | |
NON_PUBLIC_HEADERS | The NON_PUBLIC_HEADERS variable lists header files used by the project. These headers are not installed into the SDK. |
PACKAGES | |
POSTIMAGE_RULES | Run rules after the "image" rule. |
POSTRUN_RULES | Run rules after the "default" rule. |
PREIMAGE_RULES | Run rules before the "image" rule. |
PRERUN_RULES | Run rules before the "default" rule. |
PRIVATE_HEADERS | The PRIVATE_HEADERS variable lists private header files used by the project. These headers are not installed into the SDK. |
PUBLIC_HEADERS_OVERRIDE | The PUBLIC_HEADERS_OVERRIDE variable is used to allow files to be installed as public headers. |
RESOURCES | The RESOURCES variable selects .qrc files to embed into the executable. |
RUNLAST | |
SEMI_PRIVATE_HEADERS | The SEMI_PRIVATE_HEADERS variable lists private headers that other projects will use. These headers are not installed into the SDK. |
SOURCEPATH | The SOURCEPATH variable is used to locate source code. |
SOURCES | The SOURCES variable selects source files used to build the target binary. |
STRING_LANGUAGE | |
SUBDIRS | |
SUBDIRS_EXCLUDE | |
SUBDIRS_RULES | |
TARGET | The TARGET variable names the output binary. |
TEMPLATE | |
TS_DIR | |
VERSION | The VERSION variable is used to set the library version. |
VPATH | The VPATH variable is used to locate source code. |
See also QBuild Script and Qt Variables.
Copyright © 2009 Nokia | Qt Extended - QBuild Maintainer Guide |