sip-build using C compiler for .cpp files when not using pyqt-builder?
phil at riverbankcomputing.com
Fri Oct 7 09:25:15 BST 2022
On 06/10/2022 19:25, Patrick Stinson wrote:
> I have a pure C++ sip extension and it looks like sip-build is using
> the C
> compiler for everything. My other extension that sues pyqt-builder
> seems to
> work. Is there a way to get sip to use the c++ compiler for cpp files
> also correctly compiling sip's C files like sip_array.c etc?
> Using sip-6.7.1.
By default (ie. when you are not using PyQt-builder) SIP will use
setuptools to do the build. It will call the correct compiler depending
on the filename extension. Works fine for me.
More information about the PyQt