Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7
-
None
-
Linux, Python 3.12, Qt 6.7.2
-
-
fd251ca8e (dev), 7729ee345 (6.7)
Description
This is probably another problem related to non-unity builds. Unity build is now the default, but non-unity builds are useful in a development environment. Many tools consume the compilation databases from PySide6 and Shiboken6 to help with development. And these compilation databases don't work well with unity/jumbo builds.
python setup.py install --no-unity --user --enable-numpy-support --pyside-numpy-support --debug
Error:
FAILED: ApiExtractor/CMakeFiles/apiextractor.dir/anystringview_helpers.cpp.o pyside-pyside-setup/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp:4: /insilications/Downloads/pyside-pyside-setup/sources/shiboken6/ApiExtractor/anystringview_helpers.h:17:1: error: unknown type name 'qsizetype' 17 | qsizetype asv_indexOf(QAnyStringView asv, const char *needle); | ^ 1 error generated.
Attachments
For Gerrit Dashboard: PYSIDE-2804 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
573313,3 | Fix non-unity build compilation error: anystringview_helpers.h | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
573333,2 | Fix non-unity build compilation error: anystringview_helpers.h | 6.7 | pyside/pyside-setup | Status: MERGED | +2 | 0 |