Home · Overviews · Reference · Classes codeless banner


This variable contains flags for the C++ compiler that enable basic optimizations. This comes from the QBUILD_CXXFLAGS_OPTBASE variable in qmake.conf. For optimizations that increase the code size, see MKSPEC.CXXFLAGS_OPTMORE. Note that you should assign the contents of this variable to QMAKE_CXXFLAGS_RELEASE for compatibility with qmake. If unset, this value defaults to the contents of MKSPEC.CFLAGS_OPTBASE.

See also QBuild Variables and QBuild Script.

Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide