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

qt_functions.prf: pass invalid file name to call perl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 Beta
    • 5.4.0
    • Build tools: qmake
    • None
    • Windows 8.1
      ActivePerl 5.18 64
      ActivePerl 5.16 32 bits
    • Android
    • c016aeba325ae836e665a48221bdda4b0c744f12

    Description

      I'm trying to compile QtWebView.

      After clone the repo, we try to compile with:

      c:\Quati\develop\build\qt5.4\android_armv7\bin\qmake.exe -r -spec android-g++
      Output:

      Reading C:/Quati/develop/git/qtwebview/src/src.pro
      Reading C:/Quati/develop/git/qtwebview/src/webview/webview.pro
      Project MESSAGE: perl -w 'C:\quati\develop\build\qt5.4\android_armv7\bin\syncqt.pl' -check-includes -module QtWebView -version 5.4.0 -outdir C:/Quati/develop/git/qtwebview C:/Quati/develop/git/qtwebview
      Can't open perl script "'C:\quati\develop\build\qt5.4\android_armv7\bin\syncqt.pl'": Invalid argument
      Project ERROR: Failed to run: perl -w 'C:\quati\develop\build\qt5.4\android_armv7\bin\syncqt.pl' -check-includes -module QtWebView -version 5.4.0 -outdir C:/Quati/develop/git/qtwebview C:/Quati/develop/git/qtwebview

      Changing the file qt_functions.prf, in line 198:

      from
      cmd = perl -w $$system_path($${cmd}.pl)
      to
      cmd = perl -w $${cmd}.pl

      Running again, QMake runs fine:

      Reading C:/Quati/develop/git/qtwebview/src/src.pro
      Reading C:/Quati/develop/git/qtwebview/src/webview/webview.pro
      Project MESSAGE: perl -w C:/quati/develop/build/qt5.4/android_armv7/bin/syncqt.pl -check-includes -module QtWebView -version 5.4.0 -outdir C:/Quati/develop/git/qtwebview C:/Quati/develop/git/qtwebview
      <srcbase> = C:/Quati/develop/git/qtwebview
      <outbase> = C:/Quati/develop/git/qtwebview
      Reading C:/Quati/develop/git/qtwebview/src/imports/imports.pro
      Reading C:/Quati/develop/git/qtwebview/src/jar/jar.pro
      Reading C:/Quati/develop/git/qtwebview/src/jar/distributedjar.pro
      Reading C:/Quati/develop/git/qtwebview/src/jar/bundledjar.pro
      Reading C:/Quati/develop/git/qtwebview/examples/examples.pro
      Reading C:/Quati/develop/git/qtwebview/examples/webview/webview.pro
      Reading C:/Quati/develop/git/qtwebview/examples/webview/webview/webview.pro

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            quati Raphael Couto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes