Coder Social home page Coder Social logo

gencer / install-qt-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jurplel/install-qt-action

0.0 1.0 0.0 179 KB

Install Qt on your Github Actions workflows with just one simple action

License: MIT License

TypeScript 68.59% QMake 26.29% C++ 5.12%

install-qt-action's Introduction

install-qt-action

Installing Qt on Github Actions workflows manually is the worst.

You know what's easier than dealing with that? Just using this:

    - name: Install Qt
      uses: jurplel/install-qt-action@v2

All done.

Options

version

The desired version of Qt to install.

Default: 5.12.6 (Latest LTS at the time of writing)

host

This is the host platform of the Qt version you will be installing. It's unlikely that you will need to set this manually if you are just building.

For example, if you are building on Linux and targeting desktop, you would set host to linux. If you are building on Linux and targeting android, you would set host to linux also. The host platform is the platform that your application will build on, not its target platform.

Possible values: windows, mac, or linux

Defaults to the current platform it is being run on.

target

This is the target platform that you will be building for. You will want to set this if you are building for iOS or Android.

Please note that iOS builds are supported only on macOS hosts

Possible values: desktop, android, or ios

Default: desktop

arch

This is the target architecture that your program will be built for. This is only used for Windows and Android.

Linux x86 packages are not supported by this action. Qt does not offer pre-built Linux x86 packages. Please consider using your distro's repository or building it manually.

Possible values:

Windows: win64_msvc2017_64, win64_msvc2015_64, win32_msvc2015, win32_mingw53, or win64_mingw73

Android: android_x86, android_armv7

Default values:

Windows: win64_msvc2017_64

Android: android_armv7

dir

This is the directory prefix that Qt will be installed to.

For example, if you set dir to /example/, your bin folder will be located at /example/Qt/5.12.6/(your_arch)/bin. When possible, access your Qt directory through the Qt5_Dir environment variable.

Default: ${RUNNER_WORKSPACE} (this is one folder above the starting directory)

install-deps

Whether or not to automatically install Qt dependencies on Linux (you probably want to leave this on).

Default: true

modules

List of additional addon modules to install, with each entry seperated by a space. If you need one of these, you'll know it.

Possible values: qtcharts, qtdatavis3d, qtpurchasing, qtvirtualkeyboard, qtwebengine, qtnetworkauth, qtwebglplugin, qtscript, debug_info, possibly others

Default: none

More info

The Qt bin directory is added to your path environment variable. Qt5_Dir is also set appropriately for cmake.

Big thanks to the aqtinstall developers for making this easy. Please go support them, they did all of the hard work here.

This action is distributed under the MIT license.

By using this action, you agree to the terms of Qt's licensing. See Qt licensing and Licenses used by Qt.

install-qt-action's People

Contributors

jurplel avatar linville avatar lorenze avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.