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

Improve deploy and installation for qt rules #571

Closed
waruqi opened this issue Sep 8, 2019 · 3 comments
Closed

Improve deploy and installation for qt rules #571

waruqi opened this issue Sep 8, 2019 · 3 comments

Comments

@waruqi
Copy link
Member

waruqi commented Sep 8, 2019

#404 #760

@kassane
Copy link

kassane commented Oct 6, 2019

Requires support:

  • QTranslate (files: *.ts, *.qm)
  • QtAndroid (fix windows error)

@waruqi waruqi modified the milestones: v2.2.9, v2.3.0 Dec 20, 2019
@waruqi waruqi modified the milestones: v2.3.0, todo Feb 21, 2020
@waruqi
Copy link
Member Author

waruqi commented Apr 5, 2020

I have supported to deploy qt applicaion for macOS on dev branch.

-- add modes: debug and release
add_rules("mode.debug", "mode.release")

-- add target
target("qt_demo")

    -- add rules
    add_rules("qt.quickapp")

    -- add headers
    add_headerfiles("src/*.h")

    -- add files
    add_files("src/*.cpp")
    add_files("src/qml.qrc")

    -- set codesign identity (optional)
    -- set_values("xcode.codesign_identity", "Apple Development: [email protected] (T3NA4MRVPU)")
[ 40%]: ccache compiling.release src/main.cpp
[ 60%]: compiling.qt.qrc src/qml.qrc
[ 80%]: linking.release qt_demo
[100%]: generating.qt.app qt_demo.app <-- deploy qt app on macOS
[100%]: build ok!

@waruqi
Copy link
Member Author

waruqi commented Apr 19, 2020

I have supported to deploy qt applicaion for android on dev branch, but only tested on win/Qt 5.14.x

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

No branches or pull requests

2 participants