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

Adding custom targets doesn't work in Visual Studio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.8.0
    • Build tools: qmake
    • None
    • Visual Studio 2015

      Windows 7

      Adding custom targets as described in http://doc.qt.io/qt-5/qmake-advanced-usage.html doesn't do anything in Visual Studio 2015.

      versiontarget.target = dummy_rev.cpp
      versiontarget.commands = mybatch.bat
      versiontarget.depends = FORCE
      PRE_TARGETDEPS += dummy_rev.cpp
      QMAKE_EXTRA_TARGETS += versiontarget

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

            Unassigned Unassigned
            pieterverberck Pieter Verberck
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes