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

Wrong directory-separation in filedialog.pro of QtDeclarative/Tutorials/gettingStartedQml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.1
    • Labels:
      None
    • Environment:
      make distclean; ./configure -v -opensource -confirm-license -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- -no-compile-examples -skip qtactiveqt && make
    • Commits:
      qtsensors: eee2eee734b4aa735d35f6c53d79c06c1c76425a , qtdeclarative: 547db13219cd6375af43c801491a5d33f522b86f (stable, 16.4.2014, 5.3.1)

      Description

      In File "qtdeclarative/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro" please use "$${DIR_SEPARATOR}" instead of using replace (see below).

      Important reason: It does not work when cross-compiling on Linux for Windows, it actually then changes slashes to backslashes, which is wrong on a linux host.

      You find a fixed version of file qt-everywhere-opensource-src-5.2.1/qtdeclarative/examples/quick/tutorials/gettingStartedQml/filedialog/filedialog.pro in the attachment.

      Please replace it.

      This is wrong, because it does not work when cross compiling for MinGW on a Unix Host:
      -----------------------------------
      win32: {
      copyfile ~= s,/,
      ,g
      copydest ~= s,/,
      ,g
      }
      -----------------------------------

        Attachments

        1. filedialog.pro
          0.6 kB
        2. import.pro
          0.9 kB
        3. import.pro
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              mrw Marc Wäckerlin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes