Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Options #121

Open
jla3378 opened this issue Sep 17, 2021 · 1 comment
Open

Build Options #121

jla3378 opened this issue Sep 17, 2021 · 1 comment

Comments

@jla3378
Copy link

jla3378 commented Sep 17, 2021

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

@thp
Copy link
Owner

thp commented Sep 17, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants