pyotherside icon indicating copy to clipboard operation
pyotherside copied to clipboard

Build Options

Open jla3378 opened this issue 4 years ago • 1 comments

All else being equal, following the build instructions on arm64-apple-darwin20.6.0 results in a static lib while x86_64-apple-darwin20.6.0 compiles a dynamic lib.

Do you know what environment variables need to be set or passed onto the qmake and make to force static or dynamic linking?

the fact that it's making static libraries on arm macOS is creating an issue with compiling another package.

Adding classname PyOtherSideExtensionPlugin to qmldir did fix the missing classname error but now I get missing symbol errors so I think it would be easiest if there was a way to specify dynamic or static libraries when building pyotherside

jla3378 avatar Sep 17 '21 03:09 jla3378

According to https://doc.qt.io/qt-5/qmake-common-projects.html, CONFIG += dll in src/src.pro could help there.

thp avatar Sep 17 '21 04:09 thp