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

qmake makefile/vcproj/vcxproj file generation bug (same for Visual Studio add-in)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 4.8.x, 5.0.1, 5.1.0
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      windows/linux/macosx ...

      Description

      My post to forum: http://qt-project.org/forums/viewthread/31252/
      For more detail.
      For the short description: if any c/cpp/cxx file will contain include with c/cpp/cxx file
      For example:
      [code]
      //some_file_1.c
      #include "some_other_file.c"
      [/code]
      The "some_other_file.c" will be eliminated from Makefile generation or vcproj/vcxproj generation.

      I attach to this ticket the test project that show the problem: test_project.zip
      (if you build the project the result lib will contain only wfoo() - function, but should contain foo() and wfoo()

      And my fixes for qmake utility:
      $(QTDIR)/qtbase/qmake/generators/makefile.cpp
      $(QTDIR)/qtbase/qmake/generators/makefile.h

      that also used for generation vcxproj file for MSVC add-in.

        Attachments

        1. makefile.cpp.patch
          1 kB
        2. test_project.zip
          1 kB
        3. unixmake2.cpp.patch
          0.9 kB
        4. winmakefile.cpp.patch
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            nen777w Ruslan Teliuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes