mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
Merge pull request #766 from rectalogic/arm64
Support linux_gcc_arm64 arch in 6.7.0 via new linux_arm64 host
This commit is contained in:
@@ -13,6 +13,9 @@ All notable changes to this project will be documented in this file.
|
||||
`Unreleased`_
|
||||
=============
|
||||
|
||||
Added
|
||||
-----
|
||||
- Add support for arm64 architecture on linux desktop (#766)
|
||||
|
||||
`v3.1.12`_ (2, Mar. 2024)
|
||||
=========================
|
||||
|
||||
32
docs/cli.rst
32
docs/cli.rst
@@ -54,7 +54,7 @@ List available versions of Qt, targets, modules, and architectures.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -177,7 +177,7 @@ List source archives available for installation using the `install-src command`_
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: Qt version
|
||||
|
||||
@@ -217,7 +217,7 @@ installation using the `install-doc command`_, with the ``--archives`` option.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: Qt version
|
||||
|
||||
@@ -262,7 +262,7 @@ installation using the `install-example command`_, with the ``--archives`` optio
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: Qt version
|
||||
|
||||
@@ -300,7 +300,7 @@ List available tools
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -502,7 +502,7 @@ There are various combinations to accept according to Qt version.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac. The operating system on which the Qt development tools will run.
|
||||
linux, linux_arm64, windows or mac. The operating system on which the Qt development tools will run.
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -533,7 +533,9 @@ There are various combinations to accept according to Qt version.
|
||||
|
||||
The compiler architecture for which you are developing. Options:
|
||||
|
||||
* gcc_64 for linux desktop
|
||||
* gcc_64 or linux_gcc_64 for linux desktop
|
||||
|
||||
* linux_gcc_arm64 for linux_arm64 desktop
|
||||
|
||||
* clang_64 for mac desktop
|
||||
|
||||
@@ -587,7 +589,7 @@ Install Qt source code for the specified version and target.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -647,7 +649,7 @@ Install Qt documentation for the specified version and target.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -701,7 +703,7 @@ Install Qt examples for the specified version and target.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -753,7 +755,7 @@ Install tools like QtIFW, mingw, Cmake, Conan, and vcredist.
|
||||
|
||||
.. describe:: host
|
||||
|
||||
linux, windows or mac
|
||||
linux, linux_arm64, windows or mac
|
||||
|
||||
.. describe:: target
|
||||
|
||||
@@ -802,8 +804,14 @@ Example: Installing the newest LTS version of Qt 5.12:
|
||||
.. code-block:: console
|
||||
|
||||
pip install aqtinstall
|
||||
sudo aqt install-qt linux desktop 5.12 win64_mingw73
|
||||
sudo aqt install-qt linux desktop 5.12 gcc_64
|
||||
|
||||
Example: Installing the newest LTS version of Qt 6.7 for linux arm64:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
pip install aqtinstall
|
||||
sudo aqt install-qt linux_arm64 desktop 6.7
|
||||
|
||||
Example: Installing Android (armv7) Qt 5.13.2:
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Some older operating systems may require you to specify Python version 3, like t
|
||||
|
||||
To use ``aqt`` to install Qt, you will need to tell ``aqt`` four things:
|
||||
|
||||
1. The host operating system (windows, mac, or linux)
|
||||
1. The host operating system (windows, mac, linux, or linux_arm64)
|
||||
2. The target SDK (desktop, android, ios, or winrt)
|
||||
3. The version of Qt you would like to install
|
||||
4. The target architecture
|
||||
@@ -37,6 +37,10 @@ To use ``aqt`` to install Qt, you will need to tell ``aqt`` four things:
|
||||
Keep in mind that Qt for IOS is only available on Mac OS, and Qt for WinRT is
|
||||
only available on Windows.
|
||||
|
||||
In current versions of Qt, mac binaries are universal.
|
||||
As of Qt 6.7.0, Linux desktop now supports the arm64 architecture.
|
||||
This is implemented as a new host type - ``linux`` is amd64, ``linux_arm64`` is arm64.
|
||||
|
||||
To find out what versions of Qt are available, you can use the :ref:`aqt list-qt command <list-qt command>`.
|
||||
This command will print all versions of Qt available for Windows Desktop:
|
||||
|
||||
@@ -99,6 +103,12 @@ instead of an explicit version:
|
||||
|
||||
$ aqt install-qt windows desktop 6.2 win64_mingw81
|
||||
|
||||
As of Qt 6.7.0, arm64 architecture is now supported for linux desktop.
|
||||
It is implemented using both a different host (``linux_arm64``) and architecture (``linux_gcc_arm64``).
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ aqt install-qt linux_arm64 desktop 6.7.0 linux_gcc_arm64
|
||||
|
||||
External 7-zip extractor
|
||||
------------------------
|
||||
@@ -464,7 +474,7 @@ probably the compiler you want to install (see `long_modules explanation`_).
|
||||
Now let's install ``mingw``, using the :ref:`aqt install-tool <tools installation command>` command.
|
||||
This command receives four parameters:
|
||||
|
||||
1. The host operating system (windows, mac, or linux)
|
||||
1. The host operating system (windows, mac, linux, or linux_arm64)
|
||||
2. The target SDK (desktop, android, ios, or winrt)
|
||||
3. The name of the tool (this is ``tools_mingw`` in our case)
|
||||
4. (Optional) The tool variant name. We saw a list of these when we ran
|
||||
|
||||
Reference in New Issue
Block a user