summaryrefslogtreecommitdiffstats
path: root/qmake/option.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-22 18:04:17 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:31:04 (GMT)
commit54775a43b512eac1171e64dbecbb85f8d57748bc (patch)
tree08d9b0f36e3b7088ccb4b00088fac77ac6b3e67f /qmake/option.cpp
parentf5b19c173109c53bf3d8167573f7276cf39262d2 (diff)
downloadQt-54775a43b512eac1171e64dbecbb85f8d57748bc.zip
Qt-54775a43b512eac1171e64dbecbb85f8d57748bc.tar.gz
Qt-54775a43b512eac1171e64dbecbb85f8d57748bc.tar.bz2
deprecate -win32/-unix/-macx which set both host and target mode
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/option.cpp')
-rw-r--r--qmake/option.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp
index 630f882..6f0f46b 100644
--- a/qmake/option.cpp
+++ b/qmake/option.cpp
@@ -180,9 +180,6 @@ bool usage(const char *a0)
" * processed as if it was in [files]. These assignments will be parsed *\n"
" * before [files]. *\n"
" -o file Write output to file\n"
- " -unix Run in unix mode\n"
- " -win32 Run in win32 mode\n"
- " -macx Run in Mac OS X mode\n"
" -d Increase debug level\n"
" -t templ Overrides TEMPLATE as templ\n"
" -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value\n"
@@ -247,14 +244,17 @@ Option::parseCommandLine(int argc, char **argv, int skip)
} else if(opt == "tp" || opt == "template_prefix") {
Option::user_template_prefix = argv[++x];
} else if(opt == "macx") {
+ fprintf(stderr, "-macx is deprecated.\n");
Option::host_mode = HOST_MACX_MODE;
Option::target_mode = TARG_MACX_MODE;
Option::target_mode_overridden = true;
} else if(opt == "unix") {
+ fprintf(stderr, "-unix is deprecated.\n");
Option::host_mode = HOST_UNIX_MODE;
Option::target_mode = TARG_UNIX_MODE;
Option::target_mode_overridden = true;
} else if(opt == "win32") {
+ fprintf(stderr, "-win32 is deprecated.\n");
Option::host_mode = HOST_WIN_MODE;
Option::target_mode = TARG_WIN_MODE;
Option::target_mode_overridden = true;