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

qmake: When the target is empty then it will end up with creating a target called ".exe" on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • Build tools: qmake
    • None
    • ced111c74fdc7e17c68bdc10da87cec88c98e8af

    Description

      qmake: When the target is empty then it will end up with creating a target called ".exe" on Windows. I understand that this is expected behaviour, however when qmake -project is used in Qt 4.8 then the default behaviour was to create a pro file that did:

      "TARGET = "

      which would cause this behaviour to happen in Qt 5.0. Since it is an easy fix to a pro file then could a warning be added to indicate this when qmake is called pointing out that the target is empty?

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes