Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25758

'Building' qtDoc: NMAKE : fatal error U1095: expanded command line ... too long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.0.0
    • Documentation
    • None
    • Windows
    • ff305e0a51e73b3431e778572162c3f8af4f8ec2

      In `qtDoc\doc\doc.pri` it builds up a huuuge command like the following:

      online_docs:
      set QT_CORE_SOURCES=qtSrc\5.0\qtBase\src\corelib &&
      set QT_DECLARATIVE_SOURCES=qtSrc\5.0\qtDeclarative\src\declarative &&
      set QT_DOC_SOURCES=qtSrc\5.0\qtDoc
      && ... &&
      qtBuild\5.0\bin\qdoc.exe qtSrc\5.0\qtDoc\doc\config\qt-build-docs-online.qdocconf

      This seems to assume that nmake or windows shell have no command length limitations. Sadly this is not the case.

      So instead of generating one massive command in the Makefile, with (&&) why not just separate them out into separate ones...

      My fix is attached

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            smd Jan Arve
            barbourwill will barbour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes