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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes