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

Cannot detect Visual Studio when configuring QPdf and QWebEngine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3, 6.6.0 Beta3, 6.7.0 FF
    • 6.2.4
    • None
    • ||Heading 1||Heading 2||
      |OS Name|Microsoft Windows 11 Pro|
      |Version|10.0.22621 Build 22621|
      |Processor|13th Gen Intel(R) Core(TM) i7-13700T, 1400 Mhz, 16 Core(s), 24 Logical Processor(s)|
      |Installed Physical Memory (RAM)|16.0 GB|
    • Windows
    • 886c3fe8d (dev), 565e6be40 (6.6), 014ac76db (6.5)

    Description

      I cannot configure QPdf and QWebEngine because configure.bat thinks I do not have Visual Studio 2019 or higher, but I have Visual Studio 2022 installed.  I followed the instructions https://doc.qt.io/qt-6/windows-building.html and https://doc.qt.io/qt-6/qtwebengine-platform-notes.html.

       

      Here is the exact error message:

      WARNING: QtWebEngine won't be built. Build requires Visual Studio 2019 or higher.WARNING: QtPdf won't be built. Build requires Visual Studio 2019 or higher.

      It is also located near the bottom of the attached file `run-configure-err`.

      Attachments

        1. preconfigure-out
          1 kB
        2. runconfigure-err
          56 kB
        3. runconfigure-out
          71 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            compscidude Thomas Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes