From 0588b9c8c57fd204372556c7fc376b8d44672fa6 Mon Sep 17 00:00:00 2001 From: Keith Isdale Date: Thu, 6 Aug 2009 17:58:21 +1000 Subject: Add hints that a qmake generated .pro will need to be edited When qmake run with the -project option to generate a .pro for the project it is possible that the generated .pro file will need to be edited and add variables such as "QT" to specify what QT modules the project needs. To hints to qmake's help and HTML documentation to that effect. Reviewed-by: Marius Storm-Olsen --- doc/src/qmake-manual.qdoc | 3 ++- qmake/option.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/src/qmake-manual.qdoc b/doc/src/qmake-manual.qdoc index 0921ae7..211d7e9 100644 --- a/doc/src/qmake-manual.qdoc +++ b/doc/src/qmake-manual.qdoc @@ -558,7 +558,8 @@ \o \c -makefile \BR \c qmake output will be a Makefile. \o \c -project \BR - \c qmake output will be a project file. + \c qmake output will be a project file. \BR +\bold{Note:} It is likely that the created file will need to be edited for example adding the \c QT variable to suit what modules are required for the project. \endlist The following \c options are used to specify both general and mode-specific diff --git a/qmake/option.cpp b/qmake/option.cpp index 2308017..5d7cb9b 100644 --- a/qmake/option.cpp +++ b/qmake/option.cpp @@ -150,6 +150,9 @@ bool usage(const char *a0) " In this mode qmake interprets files as files to\n" " be built,\n" " defaults to %s\n" + " Note: The created .pro file probably will \n" + " need to be edited. For example add the QT variable to \n" + " specify what modules are required.\n" " -makefile Put qmake into makefile generation mode%s\n" " In this mode qmake interprets files as project files to\n" " be processed, if skipped qmake will try to find a project\n" -- cgit v0.12