From d7be1694839bacae31e500ea9e36b3c13257ce28 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 23 Jul 2011 01:58:19 -0500 Subject: [PATCH] Be consistent with the usage of QMAKE_C[XX]FLAGS --- tqtinterface/qt4/configure | 20 ++--- .../qt4/mkspecs/win32-icc/win32app.dsp | 4 +- .../qt4/mkspecs/win32-icc/win32dll.dsp | 4 +- .../qt4/mkspecs/win32-icc/win32lib.dsp | 4 +- .../qt4/mkspecs/win32-msvc/win32app.dsp | 4 +- .../qt4/mkspecs/win32-msvc/win32dll.dsp | 4 +- .../qt4/mkspecs/win32-msvc/win32lib.dsp | 4 +- .../qt4/plugins/src/imageformats/mng/mng.pro | 4 +- .../qmake/book/qmake-commandreference.leaf | 80 +++++++++---------- tqtinterface/qt4/src/qt.pro | 6 +- tqtinterface/qt4/src/xml/qt_xml.pri | 2 +- tqtinterface/qt4/tools/assistant/lib/lib.pro | 4 +- .../qt4/tools/designer/designer/designer.pro | 8 +- .../qt4/tools/designer/editor/editor.pro | 4 +- 14 files changed, 76 insertions(+), 76 deletions(-) diff --git a/tqtinterface/qt4/configure b/tqtinterface/qt4/configure index 5db81e6..3d7e39f 100755 --- a/tqtinterface/qt4/configure +++ b/tqtinterface/qt4/configure @@ -431,7 +431,7 @@ while [ "$#" -gt 0 ]; do profile) if [ "$VAL" = "yes" ]; then CFG_PROFILE=yes - QMAKE_VARS="$QMAKE_VARS QMAKE_CFLAGS+=-pg TQMAKE_CXXFLAGS+=-pg" + QMAKE_VARS="$QMAKE_VARS TQMAKE_CFLAGS+=-pg TQMAKE_CXXFLAGS+=-pg" QMAKE_VARS="$QMAKE_VARS QMAKE_LFLAGS+=-pg" else UNKNOWN_OPT=yes @@ -2276,17 +2276,17 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; echo "########################################################################" >$mkfile echo "## This file was autogenerated by configure, all changes will be lost ##" >>$mkfile echo "########################################################################" >>$mkfile - EXTRA_CFLAGS="\$(QMAKE_CFLAGS)" + EXTRA_CFLAGS="\$(TQMAKE_CFLAGS)" EXTRA_CXXFLAGS="\$(TQMAKE_CXXFLAGS)" EXTRA_LFLAGS="\$(QMAKE_LFLAGS)" grep "^QMAKE_CC[^_A-Z0-9]" $QMAKESPEC/qmake.conf | sed "s,QMAKE_CC,CC," >>$mkfile grep "^QMAKE_CXX[^_A-Z0-9]" $QMAKESPEC/qmake.conf | sed "s,QMAKE_CXX,CXX," >>$mkfile - grep "^QMAKE_CFLAGS[^_A-Z0-9]" $QMAKESPEC/qmake.conf >>$mkfile - grep "^TQMAKE_CXXFLAGS[^_A-Z0-9]" $QMAKESPEC/qmake.conf | sed "s,\$\$QMAKE_CFLAGS,\$(QMAKE_CFLAGS)," >>$mkfile + grep "^TQMAKE_CFLAGS[^_A-Z0-9]" $QMAKESPEC/qmake.conf >>$mkfile + grep "^TQMAKE_CXXFLAGS[^_A-Z0-9]" $QMAKESPEC/qmake.conf | sed "s,\$\$TQMAKE_CFLAGS,\$(TQMAKE_CFLAGS)," >>$mkfile grep "^QMAKE_LFLAGS[^_A-Z0-9]" $QMAKESPEC/qmake.conf >>$mkfile if [ "$CFG_DEBUG" = "yes" ]; then - grep "QMAKE_CFLAGS_DEBUG[^_A-Z0-9]" $QMAKESPEC/qmake.conf >>$mkfile - EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_DEBUG)" + grep "TQMAKE_CFLAGS_DEBUG[^_A-Z0-9]" $QMAKESPEC/qmake.conf >>$mkfile + EXTRA_CFLAGS="$EXTRA_CFLAGS \$(TQMAKE_CFLAGS_DEBUG)" EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(TQMAKE_CXXFLAGS_DEBUG)" fi if [ "$PLATFORM_MAC" = "yes" ]; then @@ -2320,7 +2320,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; [ -z "$QMAKE_DATA_DIR" ] && QMAKE_DATA_DIR="${TQT_INSTALL_PREFIX}" echo >>$mkfile sed -e "s,@SOURCE_PATH@,$relpath,g" -e "s,@BUILD_PATH@,$outpath,g" \ - -e "s,@QMAKE_CFLAGS@,$EXTRA_CFLAGS,g" -e "s,@QMAKE_LFLAGS@,$EXTRA_LFLAGS,g" \ + -e "s,@TQMAKE_CFLAGS@,$EXTRA_CFLAGS,g" -e "s,@QMAKE_LFLAGS@,$EXTRA_LFLAGS,g" \ -e "s,@TQMAKE_CXXFLAGS@,$EXTRA_CXXFLAGS,g" \ -e "s,@TQT_INSTALL_BINS@,\$(INSTALL_ROOT)$QMAKE_BIN_DIR,g" \ -e "s,@TQT_INSTALL_DATA@,\$(INSTALL_ROOT)$QMAKE_DATA_DIR,g" \ @@ -2689,7 +2689,7 @@ if [ '!' -z "$R_FLAGS" ]; then fi if [ '!' -z "$I_FLAGS" ]; then - QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=$I_FLAGS\"" + QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CFLAGS+=$I_FLAGS\"" QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CXXFLAGS+=$I_FLAGS\"" fi @@ -2708,14 +2708,14 @@ COMPILER=`echo $PLATFORM | cut -f 2- -d-` if [ "$CFG_EXCEPTION_SUPPORT" = "no" ]; then case "$COMPILER" in g++*) - QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=-fno-exceptions\"" + QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CFLAGS+=-fno-exceptions\"" QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CXXFLAGS+=-fno-exceptions\"" QMAKE_VARS="$QMAKE_VARS \"QMAKE_LFLAGS+=-fno-exceptions\"" ;; cc*) case "$PLATFORM" in irix-cc*) - QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=-LANG:exceptions=off\"" + QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CFLAGS+=-LANG:exceptions=off\"" QMAKE_VARS="$QMAKE_VARS \"TQMAKE_CXXFLAGS+=-LANG:exceptions=off\"" QMAKE_VARS="$QMAKE_VARS \"QMAKE_LFLAGS+=-LANG:exceptions=off\"" ;; diff --git a/tqtinterface/qt4/mkspecs/win32-icc/win32app.dsp b/tqtinterface/qt4/mkspecs/win32-icc/win32app.dsp index 4f19da4..f85298b 100644 --- a/tqtinterface/qt4/mkspecs/win32-icc/win32app.dsp +++ b/tqtinterface/qt4/mkspecs/win32-icc/win32app.dsp @@ -41,7 +41,7 @@ RSC=rc.exe # PROP Output_Dir "$$MSVCDSP_TARGETDIRREL" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe @@ -62,7 +62,7 @@ $$MSVCDSP_REGSVR_REL # PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG +# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe diff --git a/tqtinterface/qt4/mkspecs/win32-icc/win32dll.dsp b/tqtinterface/qt4/mkspecs/win32-icc/win32dll.dsp index 272635b..3e4388a 100644 --- a/tqtinterface/qt4/mkspecs/win32-icc/win32dll.dsp +++ b/tqtinterface/qt4/mkspecs/win32-icc/win32dll.dsp @@ -42,7 +42,7 @@ RSC=rc.exe # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Ignore_Export_Lib 1 # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe @@ -64,7 +64,7 @@ $$MSVCDSP_COPY_DLL_REL # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Ignore_Export_Lib 1 # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG +# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe diff --git a/tqtinterface/qt4/mkspecs/win32-icc/win32lib.dsp b/tqtinterface/qt4/mkspecs/win32-icc/win32lib.dsp index ee6f55d..def2ab7 100644 --- a/tqtinterface/qt4/mkspecs/win32-icc/win32lib.dsp +++ b/tqtinterface/qt4/mkspecs/win32-icc/win32lib.dsp @@ -40,7 +40,7 @@ RSC=rc.exe # PROP Output_Dir "$$MSVCDSP_TARGETDIRREL" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BSC32 /nologo @@ -59,7 +59,7 @@ LIB32=link.exe -lib # PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG +# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BSC32 /nologo diff --git a/tqtinterface/qt4/mkspecs/win32-msvc/win32app.dsp b/tqtinterface/qt4/mkspecs/win32-msvc/win32app.dsp index 6a95ecd..391d960 100644 --- a/tqtinterface/qt4/mkspecs/win32-msvc/win32app.dsp +++ b/tqtinterface/qt4/mkspecs/win32-msvc/win32app.dsp @@ -41,7 +41,7 @@ RSC=rc.exe # PROP Output_Dir "$$MSVCDSP_TARGETDIRREL" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe @@ -62,7 +62,7 @@ $$MSVCDSP_POST_LINK_REL # PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB +# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe diff --git a/tqtinterface/qt4/mkspecs/win32-msvc/win32dll.dsp b/tqtinterface/qt4/mkspecs/win32-msvc/win32dll.dsp index c7843a8..3f1c903 100644 --- a/tqtinterface/qt4/mkspecs/win32-msvc/win32dll.dsp +++ b/tqtinterface/qt4/mkspecs/win32-msvc/win32dll.dsp @@ -42,7 +42,7 @@ RSC=rc.exe # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Ignore_Export_Lib 1 # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe @@ -64,7 +64,7 @@ $$MSVCDSP_POST_LINK_REL # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Ignore_Export_Lib 1 # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB +# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe diff --git a/tqtinterface/qt4/mkspecs/win32-msvc/win32lib.dsp b/tqtinterface/qt4/mkspecs/win32-msvc/win32lib.dsp index fd9062a..e97e2ae 100644 --- a/tqtinterface/qt4/mkspecs/win32-msvc/win32lib.dsp +++ b/tqtinterface/qt4/mkspecs/win32-msvc/win32lib.dsp @@ -40,7 +40,7 @@ RSC=rc.exe # PROP Output_Dir "$$MSVCDSP_TARGETDIRREL" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_LIB" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL +# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_LIB" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_RELEASE $$PRECOMPILED_FLAGS_REL # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BSC32 /nologo @@ -60,7 +60,7 @@ $$MSVCDSP_POST_LINK_REL # PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB" # PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB" # PROP Target_Dir "" -# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB +# ADD CPP $$MSVCDSP_MTDEFD /W3 $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$TQMAKE_CXXFLAGS_DEBUG $$PRECOMPILED_FLAGS_DEB # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BSC32 /nologo diff --git a/tqtinterface/qt4/plugins/src/imageformats/mng/mng.pro b/tqtinterface/qt4/plugins/src/imageformats/mng/mng.pro index 2c39f94..b6ea04b 100644 --- a/tqtinterface/qt4/plugins/src/imageformats/mng/mng.pro +++ b/tqtinterface/qt4/plugins/src/imageformats/mng/mng.pro @@ -10,8 +10,8 @@ REQUIRES = !no-mng !mng SOURCES += main.cpp win32-borland { - QMAKE_CFLAGS_WARN_ON += -w-par - QMAKE_CXXFLAGS_WARN_ON += -w-par + TQMAKE_CFLAGS_WARN_ON += -w-par + TQMAKE_CXXFLAGS_WARN_ON += -w-par } win32: CONFIG-=zlib system-zlib jpeg system-jpeg diff --git a/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf b/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf index 889d547..5d803de 100644 --- a/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf +++ b/tqtinterface/qt4/qmake/book/qmake-commandreference.leaf @@ -758,8 +758,8 @@ and rarely needs to be modified. -\target QMAKE_CFLAGS_DEBUG -\section3 QMAKE_CFLAGS_DEBUG +\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 typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink @@ -768,8 +768,8 @@ and rarely needs to be modified. -\target QMAKE_CFLAGS_MT -\section3 QMAKE_CFLAGS_MT +\target TQMAKE_CFLAGS_MT +\section3 TQMAKE_CFLAGS_MT This variable tqcontains the compiler flags for creating a multi-threaded application or when the version of Qt that you link @@ -780,8 +780,8 @@ this variable is typically handled by \e qmake or -\target QMAKE_CFLAGS_MT_DBG -\section3 QMAKE_CFLAGS_MT_DBG +\target TQMAKE_CFLAGS_MT_DBG +\section3 TQMAKE_CFLAGS_MT_DBG This variable tqcontains the compiler flags for creating a debuggable multi-threaded application or when the version of Qt that you link @@ -792,8 +792,8 @@ value of this variable is typically handled by \e qmake or -\target QMAKE_CFLAGS_MT_DLL -\section3 QMAKE_CFLAGS_MT_DLL +\target TQMAKE_CFLAGS_MT_DLL +\section3 TQMAKE_CFLAGS_MT_DLL \e {This is used on Windows only} @@ -806,8 +806,8 @@ rarely needs to be modified. -\target QMAKE_CFLAGS_MT_DLLDBG -\section3 QMAKE_CFLAGS_MT_DLLDBG +\target TQMAKE_CFLAGS_MT_DLLDBG +\section3 TQMAKE_CFLAGS_MT_DLLDBG \e {This is used on Windows only} @@ -820,8 +820,8 @@ The value of this variable is typically handled by \e qmake or -\target QMAKE_CFLAGS_RELEASE -\section3 QMAKE_CFLAGS_RELEASE +\target TQMAKE_CFLAGS_RELEASE +\section3 TQMAKE_CFLAGS_RELEASE This variable tqcontains the compiler flags for creating a non-debuggable application. The value of this variable is typically @@ -831,8 +831,8 @@ rarely needs to be modified. -\target QMAKE_CFLAGS_SHLIB -\section3 QMAKE_CFLAGS_SHLIB +\target TQMAKE_CFLAGS_SHLIB +\section3 TQMAKE_CFLAGS_SHLIB \e {This is used on Unix platforms only} @@ -844,8 +844,8 @@ to be modified. -\target QMAKE_CFLAGS_THREAD -\section3 QMAKE_CFLAGS_THREAD +\target TQMAKE_CFLAGS_THREAD +\section3 TQMAKE_CFLAGS_THREAD This variable tqcontains the compiler flags for creating a multi-threaded application. The value of this variable is typically handled by @@ -855,8 +855,8 @@ to be modified. -\target QMAKE_CFLAGS_WARN_OFF -\section3 QMAKE_CFLAGS_WARN_OFF +\target TQMAKE_CFLAGS_WARN_OFF +\section3 TQMAKE_CFLAGS_WARN_OFF This variable is not empty if the warn_off \link #TEMPLATE TEMPLATE \endlink option is specified. The value of this @@ -865,8 +865,8 @@ and rarely needs to be modified. -\target QMAKE_CFLAGS_WARN_ON -\section3 QMAKE_CFLAGS_WARN_ON +\target TQMAKE_CFLAGS_WARN_ON +\section3 TQMAKE_CFLAGS_WARN_ON This variable is not empty if the warn_on \link #TEMPLATE TEMPLATE \endlink option is specified. @@ -885,8 +885,8 @@ generated files) and object files that should be removed when using "make clean" -\target QMAKE_CXXFLAGS_DEBUG -\section3 QMAKE_CXXFLAGS_DEBUG +\target TQMAKE_CXXFLAGS_DEBUG +\section3 TQMAKE_CXXFLAGS_DEBUG This variable tqcontains the C++ compiler flags for creating a debuggable application. The value of this variable is typically handled by @@ -895,8 +895,8 @@ to be modified. -\target QMAKE_CXXFLAGS_MT -\section3 QMAKE_CXXFLAGS_MT +\target TQMAKE_CXXFLAGS_MT +\section3 TQMAKE_CXXFLAGS_MT This variable tqcontains the C++ compiler flags for creating a multi-threaded application. The value of this variable is typically handled by @@ -906,8 +906,8 @@ to be modified. -\target QMAKE_CXXFLAGS_MT_DBG -\section3 QMAKE_CXXFLAGS_MT_DBG +\target TQMAKE_CXXFLAGS_MT_DBG +\section3 TQMAKE_CXXFLAGS_MT_DBG This variable tqcontains the C++ compiler flags for creating a debuggable multi-threaded application. The value of this variable is typically handled by @@ -917,8 +917,8 @@ to be modified. -\target QMAKE_CXXFLAGS_MT_DLL -\section3 QMAKE_CXXFLAGS_MT_DLL +\target TQMAKE_CXXFLAGS_MT_DLL +\section3 TQMAKE_CXXFLAGS_MT_DLL \c {This is used on Windows only} @@ -930,8 +930,8 @@ to be modified. -\target QMAKE_CXXFLAGS_MT_DLLDBG -\section3 QMAKE_CXXFLAGS_MT_DLLDBG +\target TQMAKE_CXXFLAGS_MT_DLLDBG +\section3 TQMAKE_CXXFLAGS_MT_DLLDBG \c {This is used on Windows only} @@ -943,8 +943,8 @@ to be modified. -\target QMAKE_CXXFLAGS_RELEASE -\section3 QMAKE_CXXFLAGS_RELEASE +\target TQMAKE_CXXFLAGS_RELEASE +\section3 TQMAKE_CXXFLAGS_RELEASE This variable tqcontains the C++ compiler flags for creating an application. The value of this variable is typically handled by @@ -954,8 +954,8 @@ to be modified. -\target QMAKE_CXXFLAGS_SHLIB -\section3 QMAKE_CXXFLAGS_SHLIB +\target TQMAKE_CXXFLAGS_SHLIB +\section3 TQMAKE_CXXFLAGS_SHLIB This variable tqcontains the C++ compiler flags for creating a shared library. The value of this variable is typically handled by @@ -965,8 +965,8 @@ to be modified. -\target QMAKE_CXXFLAGS_THREAD -\section3 QMAKE_CXXFLAGS_THREAD +\target TQMAKE_CXXFLAGS_THREAD +\section3 TQMAKE_CXXFLAGS_THREAD This variable tqcontains the C++ compiler flags for creating a multi-threaded application. The value of this variable is typically handled by @@ -976,8 +976,8 @@ to be modified. -\target QMAKE_CXXFLAGS_WARN_OFF -\section3 QMAKE_CXXFLAGS_WARN_OFF +\target TQMAKE_CXXFLAGS_WARN_OFF +\section3 TQMAKE_CXXFLAGS_WARN_OFF This variable tqcontains the C++ compiler flags for suppressing compiler warnings. The value of this variable is typically handled by \e qmake or @@ -985,8 +985,8 @@ This variable tqcontains the C++ compiler flags for suppressing compiler warning -\target QMAKE_CXXFLAGS_WARN_ON -\section3 QMAKE_CXXFLAGS_WARN_ON +\target TQMAKE_CXXFLAGS_WARN_ON +\section3 TQMAKE_CXXFLAGS_WARN_ON This variable tqcontains C++ compiler flags for generating compiler warnings. The value of this variable is typically handled by \e qmake or diff --git a/tqtinterface/qt4/src/qt.pro b/tqtinterface/qt4/src/qt.pro index cfa6fc3..9f91a6b 100644 --- a/tqtinterface/qt4/src/qt.pro +++ b/tqtinterface/qt4/src/qt.pro @@ -12,11 +12,11 @@ CONFIG += qmake_cache win32:!shared:CONFIG += staticlib win32-borland { - mng:QMAKE_CFLAGS_WARN_ON += -w-par + mng:TQMAKE_CFLAGS_WARN_ON += -w-par mng:TQMAKE_CXXFLAGS_WARN_ON += -w-par # Keep the size of the .tds file for the Qt library smaller than # 34 Mbytes to avoid linking problems - QMAKE_CFLAGS_DEBUG += -vi -y- + TQMAKE_CFLAGS_DEBUG += -vi -y- TQMAKE_CXXFLAGS_DEBUG += -vi -y- } @@ -106,7 +106,7 @@ unix { } aix-g++ { - QMAKE_CFLAGS += -mminimal-toc + TQMAKE_CFLAGS += -mminimal-toc TQMAKE_CXXFLAGS += -mminimal-toc } diff --git a/tqtinterface/qt4/src/xml/qt_xml.pri b/tqtinterface/qt4/src/xml/qt_xml.pri index d3d4577..8299f1a 100644 --- a/tqtinterface/qt4/src/xml/qt_xml.pri +++ b/tqtinterface/qt4/src/xml/qt_xml.pri @@ -4,7 +4,7 @@ xml { HEADERS += $$XML_H/tqxml.h $$XML_H/tqdom.h $$XML_CPP/tqsvgdevice_p.h SOURCES += $$XML_CPP/tqxml.cpp $$XML_CPP/tqdom.cpp $$XML_CPP/tqsvgdevice.cpp win32-borland { - QMAKE_CFLAGS_WARN_ON += -w-use + TQMAKE_CFLAGS_WARN_ON += -w-use TQMAKE_CXXFLAGS_WARN_ON += -w-use } } diff --git a/tqtinterface/qt4/tools/assistant/lib/lib.pro b/tqtinterface/qt4/tools/assistant/lib/lib.pro index d0a5d18..75ad1d3 100644 --- a/tqtinterface/qt4/tools/assistant/lib/lib.pro +++ b/tqtinterface/qt4/tools/assistant/lib/lib.pro @@ -17,7 +17,7 @@ DESTDIR = ../../../lib unix { target.path=$$libs.path - QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_SHLIB + TQMAKE_CFLAGS += $$TQMAKE_CFLAGS_SHLIB + TQMAKE_CXXFLAGS += $$TQMAKE_CXXFLAGS_SHLIB INSTALLS += target } diff --git a/tqtinterface/qt4/tools/designer/designer/designer.pro b/tqtinterface/qt4/tools/designer/designer/designer.pro index 5cffc49..4d98c51 100644 --- a/tqtinterface/qt4/tools/designer/designer/designer.pro +++ b/tqtinterface/qt4/tools/designer/designer/designer.pro @@ -17,8 +17,8 @@ DEFINES += QT_INTERNAL_TABLE table:win32-msvc:DEFINES+=QM_TEMPLATE_EXTERN_TABLE=extern unix { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_SHLIB + TQMAKE_CFLAGS += $$TQMAKE_CFLAGS_SHLIB + TQMAKE_CXXFLAGS += $$TQMAKE_CXXFLAGS_SHLIB } include( ../../../src/qt_professional.pri ) @@ -400,8 +400,8 @@ VERSION = 1.0.0 DESTDIR = $$QT_BUILD_TREE/lib aix-g++ { - QMAKE_CFLAGS += -mminimal-toc - QMAKE_CXXFLAGS += -mminimal-toc + TQMAKE_CFLAGS += -mminimal-toc + TQMAKE_CXXFLAGS += -mminimal-toc } sql { diff --git a/tqtinterface/qt4/tools/designer/editor/editor.pro b/tqtinterface/qt4/tools/designer/editor/editor.pro index dc9235f..2a184ba 100644 --- a/tqtinterface/qt4/tools/designer/editor/editor.pro +++ b/tqtinterface/qt4/tools/designer/editor/editor.pro @@ -35,6 +35,6 @@ target.path=$$libs.path INSTALLS += target unix { - QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB - QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_SHLIB + TQMAKE_CFLAGS += $$TQMAKE_CFLAGS_SHLIB + TQMAKE_CXXFLAGS += $$TQMAKE_CXXFLAGS_SHLIB }