Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22714

Jom does not read dependencies in make file correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.9.2
    • Jom
    • None
    • Windows

    Description

      If a Makefile has dependencies that are also targets elsewhere in the Makefile, Jom will seem to ignore those rules and still build in its own order. I'm trying to do something similar to here: https://stackoverflow.com/questions/15864689/qmake-pre-build-step-before-any-compilation

      I would expect that the dependency of versioning.h would be built before the main target, it works when using both make and nmake. However, jom will throw an error that versioning.h does not exist. If versioning.h does exist it updates the header file after the build stage and before the moc stage if necessary, otherwise just before the linker stage. This is too late, and this also happens when using /J1. I even tried manually editing the makefile for consistency with forward/backward slashes in the directory separators to no avail.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            rtomek Rob Tomek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes