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

MacOS Qt deploy is not working #2457

Open
arkena00 opened this issue Jun 14, 2022 · 5 comments
Open

MacOS Qt deploy is not working #2457

arkena00 opened this issue Jun 14, 2022 · 5 comments
Labels

Comments

@arkena00
Copy link

Xmake Version

2.6.7

Operating System Version and Architecture

macos

Describe Bug

xmake install doesn't deploy anything when using a qt app on mac

Expected Behavior

Same behaviour as windows deploy

Project Configuration

No response

Additional Information and Error Logs

CI logs

Run xmake install -v -o nxi
installing lib_nds ..
installing lib_nds to nxi ..
> copy build/macosx/x86_64/release/liblib_nds.a to nxi/lib
installing nxi ..
installing nxi to nxi ..
> copy build/macosx/x86_64/release/nxi to nxi/bin
@arkena00 arkena00 added the bug label Jun 14, 2022
@waruqi
Copy link
Member

waruqi commented Jun 14, 2022

you just run xmake build to deploy mac/qt app in build directory, then you can copy xxx.app to /Application manually.

@arkena00
Copy link
Author

Ok but why should we have to handle OS specific stuffs like that ? That's extra code to write for something that should be very simple and uniform

@waruqi
Copy link
Member

waruqi commented Jun 14, 2022

you can open a pr to support it.

on_install("android", "install.android")

    on_install("macosx", "install.macosx")

@arkena00
Copy link
Author

Can we just copy the app folder in the rule or there is something else to consider ?

@waruqi
Copy link
Member

waruqi commented Jun 14, 2022

only copy xxx.app

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

No branches or pull requests

2 participants