Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.8.1
-
Windows 11
-
-
License server development 39
Description
Since 6.8.1, qtmoc is in effect, causing several issues:
Problems with defines for the windows resource file compiler sneaking into the command line of moc
?
Problems Building PySide6
I am trying to build PySide from source using setup.py like this:
python.exe setup.py build --qtpaths=C:\\QtMaintenance\\6.8.1\\msvc2022_64\\bin\\qtpaths.exe --openssl=c:\\OpenSSL\\bin --ignore-git --parallel=16 --disable-pyi
It worked fine previously, but after updating to 6.8.1 and pulling the latest PySide dev changes, the MOC has issues with whitespaces in the compiler path.
The meaningful error I see is:
[1/16] Automatic MOC for target apiextractor AutoMoc: moc: Too many input files specified: 'Files/Microsoft' 'Visual' 'Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe' 'C:/pyside/sources/shiboken6/ApiExtractor/abstractmetafunction.h' Usage: C:/QtMaintenance/6.8.1/msvc2022_64/bin/qtmoc.exe [options] [header-file] [@option-file] [MOC generated json file] Qt Meta Object Compiler version 68 (Qt 6.8.1) Options: ...
My compiler is at
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe
I have tried deleting completely the CMake build folder without success
Please check the attached pysideSetupCrash.txt file for the full log.