Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-695

Bug importing .pro inside with PWD var with plugin Qt Visual Studio Tools version 2.4.1 (rev.12)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1, 2.4.1 (rev.12)
    • Fix Version/s: 2.4.2
    • Component/s: General
    • Labels:
      None
    • Environment:
      Visual Studio 2017, WIndows 7 (Windows 10 the same)
    • Platform/s:
      Windows

      Description

      Hello,

      I'm using Visual Studio 2017

      On using the Qt Visual Studio Tools version 2.4.x the import of my .pro are not working anymore compare to the version 2.3.1.

      On this kind of call

      ~~~

      QMAKE_POST_LINK += $$shell_quote($$shell_path("$${PWD}/../../_tools/python_utils/tr.create_md5_salt_versionInfo/tr.create_md5_salt_versionInfo.py")) --versionFile $$shell_quote($$shell_path("$${PWD}/VersionInfos.h")) --exeFile $$shell_quote($$shell_path($${DESTDIR}/$${TARGET}$${TARGET_CUSTOM_EXT})) --md5File $$shell_quote($$shell_path("$${DESTDIR}/$${TARGET}.m")) --directoryOfDlls $$shell_quote($$shell_path("$${DESTDIR}")) $$escape_expand(\\n
      t) 

      ~~~

      $${PWD} is not resolved.

       

      error:

      ~~~

      C:\Users\WhiteTiger\AppData\Local\Programs\Python\Python37\python.exe: can't open file '../tr.create_md5_salt_versionInfo/tr.create_md5_salt_versionInfo.py': [Errno 2] No such file or directory

      ~~~

       

      I also got a Message "Illegal characters in path."

       

      By installing "qt-vsaddin-msvc2017-2.3.1.vsix", all is working back again.

       

      Thanks a lot in advance to look for the problem.

       

       

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            ti-r Renan Lavarec
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes