Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3203 Several issues with file "deployment" in wizard generated "Qt Quick App" and "Qt Mobile" apps.
  3. QTCREATORBUG-3114

Data deployment to Windows with space in project path or build path fails in qmlapplicationviewer.pri

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.1.0
    • None
    • Windows 7 64-bit, QT 4.7.0, QT Creator 2.0.94 (2.1.0-pre-rc)

    • 274af0f2f9c689e8bd0bb6abba77bdf7b09ac5f6

    Description

      This bug is easily reproducible by creating a new "QT Quick Application" in QT Creator 2.0.94 (2.1.0-pre-rc), and specifying a project path OR build path with a space in it, e.g. "C:\Users\John Doe\Projects\MyProject\". Attempts to build will produce error message "[copydeploymentfolders] Error 4"

      Patch: Update line 91 of auto-generated qmlapplicationviewer.pri from:

      sourceAndTarget = $$MAINPROFILEPWD/$$source $$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(pathSegments)

      to:

      sourceAndTarget = \"$$MAINPROFILEPWD/$$source\" \"$$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(pathSegments)\"

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            smatthews Sam Matthews
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes