Open zoldaten opened 7 months ago
Just curious - is there a reason for not using the official Python bindings for Qt (PySide2)?
Just curious - is there a reason for not using the official Python bindings for Qt (PySide2)?
i just need one class func from big project on c++ without rewrite it.
Which version is this? error: the clang compiler does not support '-march=native'
should happen anymore on ARM.
As for the header file, it's likely not in any of the standard directories, so it needs to be added. Probably something like:
qtpath = "/usr/include/qt5"
cppyy.add_include_path(qtpath)
And yes, you also still need to load all relevant libraries.
qtpath='/opt/Qt6/include'
cppyy.add_include_path (qtpath)
didnt fix (
Which version is this? error: the clang compiler does not support '-march=native' should happen anymore on ARM. have no idea. i havent got clang installed.
Just to be sure, does /opt/Qt6/include/QObject
exist?
For the version, the question is about cppyy's version, not clang's. :)
hi ! thanks fo cppyy! i have installed on my raspberry pi aarch64 Raspbian Bullseye with pip. and it seems it works with simple:
:
but when i try something more complicated i see:
it cant find QT as i understand. but i have it installed. so i need lib included i think. which one from /opt/Qt6/lib ?
i tried
cppyy.include("/opt/Qt6/lib/libQt6Core.so.6.4.2")
but it failed.may be i should include a path ? please see - https://stackoverflow.com/questions/6597117/error-when-including-qt-headers