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

qmake recursive option fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.6.0
    • Build tools: qmake
    • None
    • Mac OSX

    Description

      Using Qt 5.5 I could use this line to configure my whole project:
      /Users/xtingray/Qt/5.5/clang_64/bin/qmake -recursive 'LIBS += -L/usr/local/lib' 'INCLUDEPATH += /usr/local/include'

      With the version 5.6 I am having an issue specifically with all the modules compiled as "staticlib". The Makefile files for every directory are being created with a missing line:

      With Qt 5.5:

      $(TARGET):  $(OBJECTS) $(OBJCOMP)
              -$(DEL_FILE) $(TARGET)
              $(AR) $(DESTDIR)$(TARGET) $(OBJECTS)
              $(RANLIB) $(TARGET)
      

      With Qt 5.6:

      $(TARGET):  $(OBJECTS) $(OBJCOMP)
              -$(DEL_FILE) $(TARGET)
              $(RANLIB) $(TARGET)
      

      Now, if I run the command manually from every directory inside my Qt project, the compilation goes perfect, that's the reason I think that something is wrong with the recursive option.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            xtingray Gustav Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes