diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /qmake/generators/makefile.cpp | |
parent | fb401a891f1b426e9419c0cb16403df407138611 (diff) | |
download | tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'qmake/generators/makefile.cpp')
-rw-r--r-- | qmake/generators/makefile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index d11243728..f31c7e085 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -648,7 +648,7 @@ MakefileGenerator::initOutPaths() for(int x = 0; dirs[x] != TQString::null; x++) { if ( !v[dirs[x]].isEmpty() ) { TQString orig_path = v[dirs[x]].first(); -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN // We don't want to add a separator for DLLDESTDIR on Windows if (!(dirs[x] == "DLLDESTDIR")) #endif @@ -671,7 +671,7 @@ MakefileGenerator::initOutPaths() d.cd(Option::dir_sep); path = path.right(path.length() - 1); } -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN bool driveExists = TRUE; if ( !TQDir::isRelativePath( path ) ) { if ( TQFile::exists( path.left( 3 ) ) ) { @@ -698,7 +698,7 @@ MakefileGenerator::initOutPaths() } } } -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN } #endif } @@ -1885,7 +1885,7 @@ MakefileGenerator::writeInstalls(TQTextStream &t, const TQString &installs) if(!uninst.isEmpty()) uninst.append("\n\t"); uninst.append( -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN TQString("-$(DEL_FILE)") #else TQString("-$(DEL_FILE) -r") @@ -1902,7 +1902,7 @@ MakefileGenerator::writeInstalls(TQTextStream &t, const TQString &installs) if(!uninst.isEmpty()) uninst.append("\n\t"); uninst.append( -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN TQString("-$(DEL_FILE)") #else TQString("-$(DEL_FILE) -r") @@ -1946,7 +1946,7 @@ MakefileGenerator::writeInstalls(TQTextStream &t, const TQString &installs) const TQStringList &dirs = project->variables()[pvar]; for(TQStringList::ConstIterator pit = dirs.begin(); pit != dirs.end(); ++pit) { TQString tmp_dst = fileFixify((*pit)); -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN if(tmp_dst.right(1) != Option::dir_sep) tmp_dst += Option::dir_sep; #endif |