Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-106

Obtain information from `qt.conf` for vcpkg

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • 1.0.0
    • General
    • None
    • All

    Description

      In the current implementation, we rely on hard-coded paths to obtain information from `VCPKG_ROOT ` but this is not a reliable way. We should be parsing `qt_debug.conf` and `qt_release.conf` to find specific paths.

      An example qt.debug.conf:

      [DevicePaths]
      Prefix=./../../../
      Headers=include/Qt6/
      Libraries=debug/lib
      Plugins=debug/Qt6/plugins
      Qml2Imports=debug/Qt6/qml
      Documentation=doc/Qt6/
      Binaries=debug/bin
      LibraryExecutables=tools/Qt6/bin
      ArchData=share/Qt6
      Data=share/Qt6
      Translations=translations/Qt6/
      Examples=share/examples/Qt6/
      [Paths]
      Prefix=./../../../
      Headers=include/Qt6/
      Libraries=debug/lib
      Plugins=debug/Qt6/plugins
      Qml2Imports=debug/Qt6/qml
      Documentation=doc/Qt6/
      Binaries=debug/bin
      LibraryExecutables=tools/Qt6/bin
      ArchData=share/Qt6
      Data=share/Qt6
      Translations=translations/Qt6/
      Examples=share/examples/Qt6/
      HostPrefix=./../../../
      HostData=share/Qt6
      HostBinaries=debug/bin
      HostLibraries=debug/lib
      HostLibraryExecutables=tools/Qt6/bin
      

      Attachments

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

        Activity

          People

            qtvscodeteam Qt VS Code
            orkun.tokdemir Orkun Tokdemir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes