Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Supported Python version for building 5.15?
QtWS25 Last Chance

Supported Python version for building 5.15?

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 3 Posters 759 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Taytoo
    wrote on last edited by
    #1

    As per old answers on google 5.15 requires python 2.x, however, 5.15 build documentation doesn't mention that: https://doc.qt.io/qt-5/windows-requirements.html

    Wanted to confirm if I can use python 3.8 - 3.11 for building Qt from source?

    kkoehneK 1 Reply Last reply
    0
    • T Taytoo

      As per old answers on google 5.15 requires python 2.x, however, 5.15 build documentation doesn't mention that: https://doc.qt.io/qt-5/windows-requirements.html

      Wanted to confirm if I can use python 3.8 - 3.11 for building Qt from source?

      kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      @Taytoo said in Supported Python version for building 5.15?:

      uires python 2.x, however, 5.15 build documentation doesn't mention that: https://doc.qt.io/qt-5/windows-requirements.html
      Wanted to confirm if I can use python 3.8 - 3.11 for building Qt from source?

      All modules of Qt 5.15 can be built with Python 3, except Qt WebEngine: The version that got released with Qt 5.15 requires Python 2.

      But if you need Qt WebEngine, you might also have luck with building a newer version of WebEngine that builds with Python 3 against Qt 5.15...

      Director R&D, The Qt Company

      jiapei100J 1 Reply Last reply
      1
      • T Taytoo has marked this topic as solved on
      • kkoehneK kkoehne

        @Taytoo said in Supported Python version for building 5.15?:

        uires python 2.x, however, 5.15 build documentation doesn't mention that: https://doc.qt.io/qt-5/windows-requirements.html
        Wanted to confirm if I can use python 3.8 - 3.11 for building Qt from source?

        All modules of Qt 5.15 can be built with Python 3, except Qt WebEngine: The version that got released with Qt 5.15 requires Python 2.

        But if you need Qt WebEngine, you might also have luck with building a newer version of WebEngine that builds with Python 3 against Qt 5.15...

        jiapei100J Offline
        jiapei100J Offline
        jiapei100
        wrote on last edited by
        #3

        @kkoehne Please take a look at my question here: https://forum.qt.io/topic/151291/is-python-2-still-a-must-to-build-webengine .

        Hmmm... Where can I download a newer version of WebEngine that can build with Python3?

        Cheers

        Welcome to Longer Vision
        https://www.longervision.com

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved