Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PySide2 Build from Source Windows 10
Qt 6.11 is out! See what's new in the release blog

PySide2 Build from Source Windows 10

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 938 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    james0807
    wrote on last edited by
    #1

    Hi,

    Trying to build PySide2 from source on Windows 10, following the official guide to the letter.

    Build keeps failing at:

    [  3%] Linking CXX shared library pyside2.cp36-win_amd64.dll
       Creating library pyside2.cp36-win_amd64.lib and object pyside2.cp36-win_amd64.exp
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtGui\CMakeFiles\QtGui_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtWidgets\CMakeFiles\QtWidgets_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\CMakeFiles\Makefile2 [PySide2\QtPrintSupport\CMakeFiles\QtPrintSupport_generator.dir\all] Error 2
    jom: C:\Qt\source\PySide2\pyside-setup\pyside3_build\py3.6-qt5.12.0-64bit-release\pyside2\Makefile [all] Error 2
    error: Error compiling pyside2
    

    full output here:

    https://pastebin.com/QBLyxEP1

    Any advice would be greatly appreciated.

    James

    1 Reply Last reply
    0
    • Volodymyr14V Offline
      Volodymyr14V Offline
      Volodymyr14
      wrote on last edited by
      #2

      Better use Anaconda and install PySide2 with conda.

      PyQt/PySide

      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