[Development] Qt4.8.x, qdoc3 not available Qt env variables from *.qdocconf file

Denis Shienkov scapig2 at yandex.ru
Fri Nov 30 08:50:17 CET 2012


30.11.2012, 02:31, "Lincoln Ramsay" <a1291762 at gmail.com>:
>docs_target.commands = "$$set QTDOC=$$QTDOC && $$QDOC3 $$QDOCCONF"

Also this solution on Windows does not work either. I already checked... When is this solution, Makefile contains a target:

...
docs:
	set QTDOC=G:/Qt/Qt4.8.3/doc && G:\Qt\Qt4.8.3\bin\qdoc3.exe <path/to/my/qdocconf>my.qdocconf
...

But linking qt.index file does not happens.

But if I do directly modify path to qt.index in my.qdocconf: indexes = G:/Qt/Qt4.8.3/doc/html/qt.index
then in this case is worked, and qt.index is liked.


Best regards,
Denis


30.11.2012, 02:31, "Lincoln Ramsay" <a1291762 at gmail.com>:
> On 29/11/12 22:46, Denis Shienkov wrote:
>
>>  docs_target.commands = "set QTDOC=$$QTDOC$$escape_expand(\\n\\t)$$QDOC3 $$QDOCCONF"
>
> This won't work.
>
> make treats separate "lines" as completely separate commands. You cannot
> set a variable in one line and use it in another. You must pass all
> statements as one line.
>
> Unix shell supports this nice format:
> unix:docs_target.commands = "QTDOC=$$QTDOC $$QDOC3 $$QDOCCONF"
>
> Or you can write something more generic that works on Unix and Windows:
> unix:set=export
> else:set=set
> docs_target.commands = "$$set QTDOC=$$QTDOC && $$QDOC3 $$QDOCCONF"
>
> --
> Link
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list