• Stars
    star
    1,474
  • Rank 31,891 (Top 0.7 %)
  • Language
    Shell
  • Created over 11 years ago
  • Updated 11 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Qt5 super module

HOW TO BUILD Qt 6

Synopsis

System requirements

  • C++ compiler supporting the C++17 standard
  • CMake
  • Ninja
  • Python 3

For more details, see also https://doc.qt.io/qt-6/build-sources.html

Linux, Mac:

cd <path>/<source_package>
./configure -prefix $PWD/qtbase
cmake --build .

Windows:

  1. Open a command prompt.
  2. Ensure that the following tools can be found in the path:
cd <path>\<source_package>
configure -prefix %CD%\qtbase
cmake --build .

More details follow.

Build!

Qt is built with CMake, and a typical configure && cmake --build . build process is used.

If Ninja is installed, it is automatically chosen as CMake generator.

Some relevant configure options (see configure -help):

  • -release Compile and link Qt with debugging turned off.
  • -debug Compile and link Qt with debugging turned on.

Example for a release build:

./configure -prefix $PWD/qtbase
cmake --build .

Example for a developer build: (enables more autotests, builds debug version of libraries, ...)

./configure -developer-build
cmake --build .

See output of ./configure -help for documentation on various options to configure.

The above examples will build whatever Qt modules have been enabled by default in the build system.

It is possible to build selected repositories with their dependencies by doing a ninja <repo-name>/all. For example, to build only qtdeclarative, and the modules it depends on:

./configure
ninja qtdeclarative/all

This can save a lot of time if you are only interested in a subset of Qt.

Hints

The submodule repository qtrepotools contains useful scripts for developers and release engineers. Consider adding qtrepotools/bin to your PATH environment variable to access them.

Building Qt from git

See http://wiki.qt.io/Building_Qt_6_from_Git and README.git for more information. See http://wiki.qt.io/Qt_6 for the reference platforms.

Documentation

After configuring and compiling Qt, building the documentation is possible by running

cmake --build . --target docs

After having built the documentation, you need to install it with the following command:

cmake --build . --target install_docs

The documentation is installed in the path specified with the configure argument -docdir.

Information about Qt's documentation is located in qtbase/doc/README

Note: Building the documentation is only tested on desktop platforms.

More Repositories

1

qtbase

Qt Base (Core, Gui, Widgets, Network, ...)
C++
2,479
star
2

qt

C++
469
star
3

qtmqtt

Qt Module to implement MQTT protocol version 3.1 and 3.1.1 http://mqtt.org/
C++
344
star
4

qtwebengine

Qt WebEngine
C++
344
star
5

qtcharts

QtCharts module
C++
270
star
6

qtdeclarative

Qt Declarative (Quick 2)
C++
225
star
7

qtquickcontrols2

Qt Quick Controls 2
214
star
8

qt3d

Qt3D
C++
204
star
9

qtwebkit

Qt Webkit
C++
195
star
10

qttools

Qt Tools
C++
187
star
11

qtwayland

A toolbox for making Qt based Wayland compositors
C++
133
star
12

qtftp

C++
124
star
13

qtvirtualkeyboard

QtQuick virtual keyboard
QML
109
star
14

qtserialport

Qt Serial Port support
C++
106
star
15

qtopcua

Qt wrapper for existing OPC UA stacks
C++
99
star
16

qtmultimedia

Qt Multimedia
C++
84
star
17

qtdoc

Qt Documentation
C++
76
star
18

qtwebsockets

Qt WebSockets
C++
75
star
19

qtserialbus

Support for CAN and potentially other serial buses.
C++
72
star
20

qtstyleplugins

Additional style plugins for Qt
C++
61
star
21

qtquickcontrols

Qt Quick Controls
QML
58
star
22

qtquick3d

A new module and API for defining 3D content in Qt Quick.
C++
57
star
23

qtwebchannel

Qt WebChannel
C++
56
star
24

qtsvg

Qt SVG
C++
53
star
25

qtdatavis3d

Qt 3D data visualization framework
C++
50
star
26

qtgamepad

A Qt 5 module that adds support for getting events from gamepad devices on multiple platforms. Currently supports Linux (evdev), Windows (xinput) and OS X (via SDL2). This module provides classes that can: - Read input events from game controllers (Button and Axis events), both from C++ and Qt Quick (QML) - Provide a queryable input state (by processing events) - Provide key bindings.
C++
43
star
27

qtlocation

Qt Location
QML
40
star
28

qtconnectivity

Qt Connectivity
C++
37
star
29

qtremoteobjects

Qt distributed object system
C++
37
star
30

qtwebengine-chromium

C++
34
star
31

qtspeech

Qt Speech support
C++
32
star
32

qtwebview

Qt Web View
C++
32
star
33

qtlanguageserver

An implementation of the Language Server Protocol
C++
30
star
34

qtcanvas3d

Qt Canvas 3D
C++
27
star
35

qtscxml

SCXML (state machine notation) compiler and related tools
C++
26
star
36

qtivi

Support for Automotive IVI Systems
C++
25
star
37

qtlottie

Lottie is a family of player software for a certain json-based file format for describing 2d vector graphics animations. These files are created/exported directly from After Effects by a plugin called Bodymovin. About Lottie: https://airbnb.design/lottie/
C++
25
star
38

qtsystems

Qt Systems
C++
24
star
39

qtimageformats

Additional Image Format plugins for Qt
C++
24
star
40

qtquicktimeline

Module for keyframe-based timeline construction.
C++
22
star
41

qtapplicationmanager

Qt component for application lifecycle management
C++
22
star
42

qtotaupdate

OTA Update Solution For Embedded Linux
C++
20
star
43

qtnetworkauth

Qt Network Authenticators; QtOAuth in particular
C++
19
star
44

qtwebglplugin

QPA plugin for running an application via a browser using streamed WebGL commands.
C++
19
star
45

qtcoap

Qt CoAP client module
C++
18
star
46

qtsensors

Qt Sensors
C++
18
star
47

qtactiveqt

ActiveQt
C++
17
star
48

qtrepotools

Qt Repository Tools - git commands and hooks, etc.
Perl
17
star
49

qttranslations

Qt Translations
CMake
17
star
50

qtshadertools

APIs and tools in this module provide the producer functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL.
C++
17
star
51

qtxmlpatterns

Qt XmlPatterns (Xpath, Xquery, ... engine)
C++
16
star
52

qtgraphicaleffects

Graphical Effects for Qt
16
star
53

qtqa

Qt QA Scripts
Perl
16
star
54

qtgrpc

Providing protobuf and gRPC support for Qt.
C++
15
star
55

qtknx

Implementation of the KNX protocol stack
C++
15
star
56

qtwebkit-examples

Examples for Qt Webkit
Prolog
15
star
57

qtpurchasing

Qt In-App Purchasing API
C++
14
star
58

qtpim

Qt Personal Information Management
C++
14
star
59

qthttpserver

Qt Extension: Qt HTTP Server
C++
14
star
60

qtandroidextras

Android extras for Qt
13
star
61

qtscript

Qt Script (JSC based)
C++
13
star
62

qtcloudmessaging

Qt API which wraps push services
C++
13
star
63

qtgraphs

Qt Graphs for data visualization.
C++
12
star
64

qtmacextras

Mac Extras for Qt
11
star
65

qtlocation-mapboxgl

Mirror/fork of https://github.com/mapbox/mapbox-gl-native. This is a submodule of qtlocation - no point in cloning it separately.
C++
11
star
66

qtdeviceutilities

Utils for Boot2Qt
C++
11
star
67

qthttp

C++
10
star
68

qtquickeffectmaker

Qt Quick Effect Maker (QQEM) for creating and editing custom shader effects
C++
10
star
69

qlalr

C++
9
star
70

qtwinextras

Qt Extras for Windows
8
star
71

qt5compat

The module contains unsupported Qt 5 APIs
C++
7
star
72

qtfeedback

Qt Tactile Feedback
C++
7
star
73

qtmodeling

Qt-based implementation of Object Management Group (OMG)’s Meta Object Facility (MOF) specification and derivatives
C++
7
star
74

qtx11extras

Qt Extras for X11
7
star
75

qtquick3d-assimp

Vendor branches of assimp. This is a submodule of qtquick3d - no point in cloning it separately.
C++
6
star
76

qtquick1

Qt Quick 1
C++
6
star
77

qtpositioning

C++
6
star
78

qtivi-qface

Python
5
star
79

qtdeclarative-render2d

Raster backend for QtQuick scene graph
C++
5
star
80

qtvoiceassistant

Voice assistant integration (e.g. Alexa) for Qt applications.
C++
3
star
81

qtreleasenotes

3
star
82

qtdocgallery

Qt DocGallery (experimental)
C++
3
star
83

qtanalytics

Qt Quick plug in allowing collection of UI usage analytics.
C++
3
star
84

qtjsondb

C++
3
star
85

qtenginio

Qt client for Engin.IO (Digia Cloud Services)
C++
3
star
86

qtdesignviewer

Viewer application for .qmlproject based QML applications
C++
2
star
87

qtlicenseserver

Tooling for Qt modules to communicate with the Qt License Server
2
star
88

qtxmlpatterns-testsuites

HTML
2
star
89

qtivi-taglib

Mirror of https://github.com/taglib/taglib. This is a submodule of qtivi - no point in cloning it separately.
C++
2
star
90

qtquick3dphysics

Physics engine integration for Qt Quick 3D
C++
1
star
91

qtdeclarative-testsuites

JavaScript
1
star
92

qtquickcontrols-tizen

1
star
93

qtjsbackend

C++
1
star
94

qtinterfaceframework

C++
1
star