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

Command line too long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2, 6.2.0
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Windows 10
    • Platform/s:
      WebAssembly

      Description

      I have a huge project and qmake generates a makefile with :

      $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

      It produces a 11Kb line length which results in an error.

      I manually change the makefile with this code and it works:

      $(file >$(OBJECTS_DIR)/$(TARGET).rsp, $(OBJECTS))

      $(LINK) $(LFLAGS) -o $(TARGET) @$(OBJECTS_DIR)/$(TARGET).rsp $(OBJCOMP) $(LIBS)

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            remy67 remy rouvin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes