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

Command line too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.2.0
    • Build tools: qmake
    • None
    • Windows 10
    • Windows

    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

            qtbuildsystem Qt Build System Team
            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