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

Template files for qmlapplicationviewer makes it impossible to compile for debug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 2.6.0
    • Quick / QML Support
    • None
    • Gentoo Linux ADM64 fresh install this week (Christmas week 2012) with Qt 4.8.2 and gcc 4.5.4. Qt creatore is 2.6.0.

    Description

      When I create an application for QML the pro and qmlapplicationviewer pri files explicitly removes debug_and_release and debug from CONFIG in 3 places making it impossible to build a debug target unless those CONFIG statements are removed. Executing qmake "CONFIG += debug" has no effect what so ever as it is overridden by the pro and pri files.

      I suggest that hard-coding "CONFIG -=release_and_debug debug" and "CONFIG += release" are removed from the templates as the developer shall decide this by configuring the target/set.

      BR
      Erik

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            paddlaren Erik Ridderby
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes