構建 Qt 源

安裝 Qt 有 2 種辦法:

  1. 透過 Qt 安裝程序 - 下載並安裝 Qt
  2. 透過 Qt 源代碼

注意: Add the Qt build directory to the list of excluded directories of any anti-virus application that runs on your system.

You can download the Qt installers and sources from the 下載 頁麵。更多信息,拜訪 Qt 快速入門 頁麵。

此頁麵列齣通過構建 Qt 源來安裝 Qt 的相關信息。在每個 Qt 平颱的安裝過程是不同的。此頁麵收集相關信息為 支持平颱 . In addition, this page provides links to any module-specific system requirements.

一般安裝信息

To build Qt from source, use configure 來配置 Qt 為在特定平颱采用一組特定 Qt 特徵或模塊。更多信息,拜訪以下頁麵:

It's also possible for you to build an optimized version of Qt according to your specific needs. For more information, visit the following page:

Windows

macOS

Linux/X11

嵌入式 Linux

Android

iOS

Module-specific System Requirements

附加信息

頂級 Qt5 Git 存儲庫包含一組構建指令,采用形式 供應腳本 , used by Qt's continuous integration (CI) system to build and test the 支持平颱 。這些腳本對於從源代碼構建 Qt 的任何人是有用的,因為它們為每種配置提供所需的工具和組件的相關信息。