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

the built files are not copied to "target.path" when building in Xcode

XMLWordPrintable

      The target is not respected when building in XCode.
      This works in Qt 4.2, but not in Qt 4.3.
      It works in Qt 4.3 when building using a regular Makefile and gcc, but not using the Xcode project file with xcodebuild.

      Reproducible with the following steps:

      • create a simple project, have the following in the pro file:
        TEMPLATE = app
        target.path = /tmp
        INSTALLS += target
        DEPENDPATH += .
        INCLUDEPATH += .
      1. Input
        SOURCES += main.cpp
      • run: qmake -spec macx-xcode
      • run: xcodebuild *.xcodeproj
      • run: xcodebuild install

      With Qt 4.2, this will copy the built file to "/tmp", but in Qt 4.3 nothing is copied.

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

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes