mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[PR #114] [MERGED] Let native callbacks be defined in shared libraries. #214
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#214
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qmlnet/qmlnet/pull/114
Author: @afillebrown
Created: 3/25/2019
Status: ✅ Merged
Merged: 4/10/2019
Merged by: @pauldotknopf
Base:
develop← Head:feature/enable-callbacks-in-shared-libraries📝 Commits (3)
3ccc077Let native callbacks be defined in shared libraries.074ff2aPreserve nullptr if native module name is null or empty.5efb489Let native callbacks be defined in shared libraries on *nix platforms.📊 Changes
2 files changed (+9 additions, -2 deletions)
View changed files
📝
src/native/QmlNet/Hosting/CoreHost.cpp(+8 -2)📝
src/native/QmlNet/Hosting/CoreHost.h(+1 -0)📄 Description
When using unmanaged hosting, callbacks are currently limited to the top-level executable. We would like to put the callbacks in a shared library, instead. This PR is a rough-draft that shows how I got it working on Windows. Please take a look and let me know if this is the right direction to take or if there's a better way. Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.