ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

27 October 2022
2022-10-27×
27 October 2022
It seems to fail to find libstd-c++ headers, I get fatal error: 'memory' file not found
Args are "/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/SciQLopPlotsBindings/../bindings.h" "/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/SciQLopPlotsBindings/../bindings.xml" "--generator-set=shiboken" "--enable-parent-ctor-heuristic" "--enable-return-value-heuristic" "--use-isnull-as-nb_nonzero" "--avoid-protected-hack" "--enable-pyside-extensions" "-std=c++17" "--typesystem-paths=/opt/python/cp310-cp310/lib/python3.10/site-packages/PySide6/typesystems" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/PySide6/include" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/shiboken6_generator/include" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/PySide6/include/QtCore" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/PySide6/include/QtGui" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/PySide6/include/QtWidgets" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../include" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/TimeSeries/include" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/cpp_utils/include" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/SciQLopPlots/include" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/QCustomPlot/src" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/hedley-11" "-I/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/bindings/../subprojects/channels" "-I/opt/python/cp310-cp310/include/python3.10" "-I/opt/6.3.2/gcc_64/include" "-I/opt/python/cp310-cp310/lib/python3.10/site-packages/numpy/core/include" "-I/opt/6.3.2/gcc_64/include/QtCore" "-I/opt/6.3.2/gcc_64/include/QtGui" "-I/opt/6.3.2/gcc_64/include/QtWidgets" "--output-directory=/tmp/build-via-sdist-azg4kkvf/SciQLopPlots-0.0.1/build/temp.linux-x86_64-cpython-310
Current libc++ headers are in /usr/include/c++/8/
A
I could hardcode this path but I want to ensure first that I didn't miss anything
F
huh, your compiler should automatically include the libc++ by default, no?
A
unless you mean it misses info from llvm-config?
F
ah, I missed that this is an invocation of shiboken, not your compiler
I
Seems like PySide6 6.4.0.1 wheel is still missing the Qt5Compat Module, or did I just missed it somehow?
and yeah, surprise 🎉 6.4.0.1 is out
A
I see, I was more thinking about some docker env usable to build my C++ code wrapped with shiboken
Do you know if there are any project building wheels for PyPi using shiboken generator? I searched on github and PyPi but most projects I found use PyQt and swig :/
A
I'm searching some working setups (libc/compiler/Qt SDK....) to produce valid binary wheels for PyPI
Yeah I use Pybind11 a lot for other projects, here I want to basically wrap a plot API based on QCustomPlot.
We started this APP as a full C++ code using Qt and PyBind11 but then it is quite hard to extend the GUI from Python and since this is a scientific app we also wanted an integrated jupyter terminal.
A
So I switched to a Python app using mostly PySide with few strategic bits like plots written in C++.
C
feel free to comment on the original issue 👍 thanks for noticing
Calendar: October 2022
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog