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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes