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

QtCreator always reruns qmake with CONFIG+="foo bar"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 4.1.0-beta1
    • Qt Creator 3.6.1, Qt Creator 4.0.2
    • Ubuntu 14.04 64bit Linux
      qmake 3.0 from Qt 5.4.2

      QtCreator thinks that the qmake project configuration has been changed when you supply something like CONFIG+="foo bar" (with space) as additional qmake argument. This means that upon every "Build" and "Run" command, it runs qmake, even if nothing has changed, which for a large project can take significant time.

      If you instead supply CONFIG+=foo CONFIG+=bar as two separate arguments, it works without issue.

      I can reproduce this with both 4.0.2 and 3.6.1

      See also my initial question in the forum: https://forum.qt.io/topic/68578/qtcreator-reruns-qmake-every-time-i-run-or-build

        For Gerrit Dashboard: QTCREATORBUG-16492
        # Subject Branch Project Status CR V

            hunger Tobias Hunger
            demmeln Nikolaus Demmel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes