Qt online installer for windows x64

Download Qt, the software that allows you to reach all your target platforms — desktop and embedded systems — and try out our UI and UX design tools.

Buy Qt Framework & Tools

Get the full Qt experience with a licensing plan designed to support your business goals plus access to the official Qt Support Helpdesk and a close strategic relationship with The Qt Company.

Pricing and Packaging   Buy Qt now

Try Qt Framework and Tools

New to Qt and want to try before you buy? Download a free trial of the Qt framework, tools for desktop and embedded development, Qt Design Studio, plus other enterprise add-ons like Qt Digital Advertising platform.

Download Qt

  

What’s in Qt?

Try Quality Assurance Tools

New to QA and want to try our testing tools before you buy? Download a free trial of our QA tools – Squish, CoCo, and Test Center.

Download QA   What’s in QA?

Existing Qt customers

Got Qt already and want to upgrade your license or try out the latest Qt 6 release? Sign into the customer portal to download a trial or contact your Customer Success Manager to discuss your options.

Log in      Contact us about a Qt 6 license

Downloads for Existing QA customers

FORMERLY FROGLOGIC CUSTOMERS

Are you already a customer looking to download your testing tools? Look no further.

Log in   Contact us

Download Qt for open source use

Find out how you can use Qt under the (L)GPL and contribute to the Qt project.

Go open sourceView Qt product map

Qt Creator

Qt Creator is a cross-platform, integrated development environment (IDE) for
application developers to create applications for multiple desktop, embedded,
and mobile device platforms.

The Qt Creator Manual is available at:

https://doc.qt.io/qtcreator/index.html

For an overview of the Qt Creator IDE, see:

https://doc.qt.io/qtcreator/creator-overview.html

Supported Platforms

The standalone binary packages support the following platforms:

  • Windows 10 (64-bit) or later
  • (K)Ubuntu Linux 20.04 (64-bit) or later
  • macOS 10.14 or later

Contributing

For instructions on how to set up the Qt Creator repository to contribute
patches back to Qt Creator, please check:

https://wiki.qt.io/Setting_up_Gerrit

See the following page for information about our coding standard:

https://doc.qt.io/qtcreator-extending/coding-style.html

Compiling Qt Creator

Prerequisites:

  • Qt 6.2 or later. The Qt version that you use to build Qt Creator defines the
    minimum platform versions that the result supports
    (Windows 10, RHEL/CentOS 8.4, Ubuntu 20.04, macOS 10.14 for Qt 6.2).
  • Qt WebEngine module for QtWebEngine based help viewer
  • On Windows:
    • MinGW with GCC 9 or Visual Studio 2019 or later
    • Python 3.5 or later (optional, needed for the python enabled debug helper)
    • Debugging Tools for Windows (optional, for MSVC debugging support with CDB)
  • On Mac OS X: latest Xcode
  • On Linux: GCC 9 or later
  • LLVM/Clang 10 or later (optional, LLVM/Clang 14 is recommended.
    See instructions on how to
    get LLVM.
    The ClangFormat plugin uses the LLVM C++ API.
    Since the LLVM C++ API provides no compatibility guarantee,
    if later versions don’t compile we don’t support that version.)
  • CMake
  • Ninja (recommended)

The used toolchain has to be compatible with the one Qt was compiled with.

Linux and macOS

These instructions assume that Ninja is installed and in the PATH, Qt Creator
sources are located at /path/to/qtcreator_sources, Qt is installed in
/path/to/Qt, and LLVM is installed in /path/to/llvm.

Note that if you install Qt via the online installer, the path to Qt must
include the version number and compiler ABI. The path to the online installer
content is not enough.

Note that /path/to/Qt doesn’t imply the full path depth like:
$USER/Qt/6.2.4/gcc_64/lib/cmake/Qt6, but only $USER/Qt/6.2.4/gcc_64.

See instructions on how to
get LLVM.

mkdir qtcreator_build
cd qtcreator_build

cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH=/path/to/Qt;/path/to/llvm" /path/to/qtcreator_sources
cmake --build .

Windows

These instructions assume that Ninja is installed and in the PATH, Qt Creator
sources are located at pathtoqtcreator_sources, Qt is installed in
pathtoQt, and LLVM is installed in pathtollvm.

Note that if you install Qt via the online installer, the path to Qt must
include the version number and compiler ABI. The path to the online installer
content is not enough.

Note that pathtoQt doesn’t imply the full path depth like:
c:Qt6.2.4msvc2019_64libcmakeQt6, but only c:/Qt/6.2.4/msvc2019_64.
The usage of slashes / is intentional, since CMake has issues with backslashes
in CMAKE_PREFX_PATH, they are interpreted as escape codes.

See instructions on how to
get LLVM.

Decide which compiler to use: MinGW or Microsoft Visual Studio.

MinGW is available via the Qt online installer, for other options see
https://wiki.qt.io/MinGW. Run the commands below in a shell prompt that has
<path_to_mingw>bin in the PATH.

For Microsoft Visual C++ you can use the «Build Tools for Visual Studio». Also
install the «Debugging Tools for Windows» from the Windows SDK installer. We
strongly recommend using the 64-bit version and 64-bit compilers on 64-bit
systems. Open the x64 Native Tools Command Prompt for VS <version> from the
start menu items that were created for Visual Studio, and run the commands
below in it.

md qtcreator_build
cd qtcreator_build

cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH=/path/to/Qt;/path/to/llvm" pathtoqtcreator_sources
cmake --build .

Qt Creator can be registered as a post-mortem debugger. This can be done in the
options page or by running the tool qtcdebugger with administrative privileges
passing the command line options -register/unregister, respectively.
Alternatively, the required registry entries

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAeDebug
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebug

can be modified using the registry editor regedt32 to contain

qtcreator_buildbinqtcdebugger %ld %ld

When using a self-built version of Qt Creator as post-mortem debugger, it needs
to be able to find all dependent Qt-libraries and plugins when being launched
by the system. The easiest way to do this is to create a self-contained Qt
Creator by installing it and installing its dependencies. See «Options» below
for details.

Note that unlike on Unix, you cannot overwrite executables that are running.
Thus, if you want to work on Qt Creator using Qt Creator, you need a separate
installation of it. We recommend using a separate, release-built version of Qt
Creator to work on a debug-built version of Qt Creator.

Options

If you do not have Ninja installed and in the PATH, remove -G Ninja from
the first cmake call. If you want to build in release mode, change the build
type to -DCMAKE_BUILD_TYPE=Release. You can also build with release
optimizations but debug information with -DCMAKE_BUILD_TYPE=RelWithDebInfo.

You can find more options in the generated CMakeCache.txt file. For instance,
building of Qbs together with Qt Creator can be enabled with -DBUILD_QBS=ON.

Installation is not needed. It is however possible, using

cmake --install . --prefix /path/to/qtcreator_install

To create a self-contained Qt Creator installation, including all dependencies
like Qt and LLVM, additionally run

cmake --install . --prefix /path/to/qtcreator_install --component Dependencies

Perf Profiler Support

Support for the perf profiler
requires the perfparser tool that is part of the Qt Creator source package, and also
part of the Qt Creator Git repository in form of a submodule in src/tools/perfparser.

Compilation of perfparser requires ELF and DWARF development packages.
You can either download and extract a prebuilt package from
https://download.qt.io/development_releases/prebuilt/elfutils/ and add the
directory to the CMAKE_PREFIX_PATH when configuring Qt Creator,
or install the libdw-dev package on Debian-style Linux systems.

You can also point Qt Creator to a separate installation of perfparser by
setting the PERFPROFILER_PARSER_FILEPATH environment variable to the full
path to the executable.

Getting LLVM/Clang for the Clang Code Model

The Clang code model uses Clangd and the ClangFormat plugin depends on the
LLVM/Clang libraries. The currently recommended LLVM/Clang version is 14.0.

Prebuilt LLVM/Clang packages

Prebuilt packages of LLVM/Clang can be downloaded from
https://download.qt.io/development_releases/prebuilt/libclang/

This should be your preferred option because you will use the version that is
shipped together with Qt Creator (with backported/additional patches). In
addition, MinGW packages for Windows are faster due to profile-guided
optimization. If the prebuilt packages do not match your configuration, you
need to build LLVM/Clang manually.

If you use the MSVC compiler to build Qt Creator the suggested way is:
1. Download both MSVC and MinGW packages of libclang.
2. Use the MSVC version of libclang during the Qt Creator build.
3. Prepend PATH variable used for the run time with the location of MinGW version of libclang.dll.
4. Launch Qt Creator.

Building LLVM/Clang manually

You need to install CMake in order to build LLVM/Clang.

Build LLVM/Clang by roughly following the instructions at
http://llvm.org/docs/GettingStarted.html#git-mirror:

  1. Clone LLVM/Clang and checkout a suitable branch

    git clone -b release_130-based --recursive https://code.qt.io/clang/llvm-project.git
    
  2. Build and install LLVM/Clang

    For Linux/macOS:

    cmake 
      -D CMAKE_BUILD_TYPE=Release 
      -D LLVM_ENABLE_RTTI=ON 
      -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" 
      -D CMAKE_INSTALL_PREFIX=<installation location> 
      ../llvm-project/llvm
    cmake --build . --target install
    

    For Windows:

    cmake ^
      -G Ninja ^
      -D CMAKE_BUILD_TYPE=Release ^
      -D LLVM_ENABLE_RTTI=ON ^
      -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" ^
      -D CMAKE_INSTALL_PREFIX=<installation location> ^
      ..llvm-projectllvm
    cmake --build . --target install
    

Clang-Format

The ClangFormat plugin depends on the additional patch

https://code.qt.io/cgit/clang/llvm-project.git/commit/?h=release_130-based&id=42879d1f355fde391ef46b96a659afeb4ad7814a

While the plugin builds without it, it might not be fully functional.

Note that the plugin is disabled by default.

Licenses and Attributions

Qt Creator is available under commercial licenses from The Qt Company,
and under the GNU General Public License version 3,
annotated with The Qt Company GPL Exception 1.0.
See LICENSE.GPL-EXCEPT for the details.

Qt Creator furthermore includes the following third-party components,
we thank the authors who made this possible:

YAML Parser yaml-cpp (MIT License)

https://github.com/jbeder/yaml-cpp

QtCreator/src/libs/3rdparty/yaml-cpp

Copyright (c) 2008-2015 Jesse Beder.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the «Software»), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

KSyntaxHighlighting

Syntax highlighting engine for Kate syntax definitions

This is a stand-alone implementation of the Kate syntax highlighting
engine. It’s meant as a building block for text editors as well as
for simple highlighted text rendering (e.g. as HTML), supporting both
integration with a custom editor as well as a ready-to-use
QSyntaxHighlighter sub-class.

Distributed under the:

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
«Software»), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The source code of KSyntaxHighlighting can be found here:
https://cgit.kde.org/syntax-highlighting.git
QtCreator/src/libs/3rdparty/syntax-highlighting
https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/libs/3rdparty/syntax-highlighting

Clazy

https://github.com/KDE/clazy

Copyright (C) 2015-2018 Clazy Team

Distributed under GNU LIBRARY GENERAL PUBLIC LICENSE Version 2 (LGPL2).

Integrated with patches from
https://code.qt.io/cgit/clang/clazy.git/.

LLVM/Clang

https://github.com/llvm/llvm-project.git

Copyright (C) 2003-2019 LLVM Team

Distributed under the Apache 2.0 License with LLVM exceptions,
see https://github.com/llvm/llvm-project/blob/main/clang/LICENSE.TXT

With backported/additional patches from https://code.qt.io/cgit/clang/llvm-project.git

std::span implementation for C++11 and later

A single-header implementation of C++20’s std::span, conforming to the C++20
committee draft. It is compatible with C++11, but will use newer language
features if they are available.

https://github.com/tcbrindle/span

QtCreator/src/libs/3rdparty/span

Copyright Tristan Brindle, 2018

Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)

Open Source front-end for C++ (license MIT), enhanced for use in Qt Creator

Roberto Raggi roberto.raggi@gmail.com

QtCreator/src/libs/3rdparty/cplusplus

Copyright 2005 Roberto Raggi roberto@kdevelop.org

Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Open Source tool for generating C++ code that classifies keywords (license MIT)

Roberto Raggi roberto.raggi@gmail.com

QtCreator/src/tools/3rdparty/cplusplus-keywordgen

Copyright (c) 2007 Roberto Raggi roberto.raggi@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the «Software»), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SQLite (version 3.8.10.2)

SQLite is a C-language library that implements a small, fast, self-contained,
high-reliability, full-featured, SQL database engine.

SQLite (https://www.sqlite.org) is in the Public Domain.

ClassView and ImageViewer plugins

Copyright (C) 2016 The Qt Company Ltd.

All rights reserved.
Copyright (C) 2016 Denis Mingulov.

Contact: http://www.qt.io

This file is part of Qt Creator.

You may use this file under the terms of the BSD license as follows:

«Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of The Qt Company Ltd and its Subsidiary(-ies) nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
«AS IS» AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.»

Source Code Pro font

Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
with Reserved Font Name ‘Source’. All Rights Reserved. Source is a
trademark of Adobe Systems Incorporated in the United States
and/or other countries.

This Font Software is licensed under the SIL Open Font License, Version 1.1.

The font and license files can be found in QtCreator/src/libs/3rdparty/fonts.

JSON Library by Niels Lohmann

Used by the Chrome Trace Format Visualizer plugin instead of QJson
because of QJson’s current hard limit of 128 Mb object size and
trace files often being much larger.

The sources can be found in QtCreator/src/libs/3rdparty/json.

The class is licensed under the MIT License:

Copyright © 2013-2019 Niels Lohmann

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the “Software”), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

The class contains the UTF-8 Decoder from Bjoern Hoehrmann which is
licensed under the MIT License (see above). Copyright © 2008-2009 Björn
Hoehrmann bjoern@hoehrmann.de

The class contains a slightly modified version of the Grisu2 algorithm
from Florian Loitsch which is licensed under the MIT License (see above).
Copyright © 2009 Florian Loitsch

litehtml

The litehtml HTML/CSS rendering engine is used as a help viewer backend
to display help files.

The sources can be found in:
* QtCreator/src/plugins/help/qlitehtml
* https://github.com/litehtml

Copyright (c) 2013, Yuri Kobets (tordex)

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
  • Neither the name of the nor the
    names of its contributors may be used to endorse or promote products
    derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS «AS IS» AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

gumbo

The litehtml HTML/CSS rendering engine uses the gumbo parser.

Copyright 2010, 2011 Google

Licensed under the Apache License, Version 2.0 (the «License»);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an «AS IS» BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

gumbo/utf8.c

The litehtml HTML/CSS rendering engine uses gumbo/utf8.c parser.

Copyright (c) 2008-2009 Bjoern Hoehrmann bjoern@hoehrmann.de

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the «Software»), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

SourceCodePro fonts

Qt Creator ships with the following fonts licensed under OFL-1.1:

  • SourceCodePro-Regular.ttf
  • SourceCodePro-It.ttf
  • SourceCodePro-Bold.ttf

SIL OPEN FONT LICENSE

Version 1.1 — 26 February 2007

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
«Font Software» refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

«Reserved Font Name» refers to any names specified as such after the
copyright statement(s).

«Original Version» refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

«Modified Version» refers to any derivative made by adding to, deleting,
or substituting — in part or in whole — any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

«Author» refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

  1. Neither the Font Software nor any of its individual components,
    in Original or Modified Versions, may be sold by itself.

  2. Original or Modified Versions of the Font Software may be bundled,
    redistributed and/or sold with any software, provided that each copy
    contains the above copyright notice and this license. These can be
    included either as stand-alone text files, human-readable headers or
    in the appropriate machine-readable metadata fields within text or
    binary files as long as those fields can be easily viewed by the user.

  3. No Modified Version of the Font Software may use the Reserved Font
    Name(s) unless explicit written permission is granted by the corresponding
    Copyright Holder. This restriction only applies to the primary font name as
    presented to the users.

  4. The name(s) of the Copyright Holder(s) or the Author(s) of the Font
    Software shall not be used to promote, endorse or advertise any
    Modified Version, except to acknowledge the contribution(s) of the
    Copyright Holder(s) and the Author(s) or with their explicit written
    permission.

  5. The Font Software, modified or unmodified, in part or in whole,
    must be distributed entirely under this license, and must not be
    distributed under any other license. The requirement for fonts to
    remain under this license does not apply to any document created
    using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Qbs

Qt Creator installations deliver Qbs. Its licensing and third party
attributions are listed in Qbs Manual at
https://doc.qt.io/qbs/attributions.html

conan.cmake

CMake script used by Qt Creator’s auto setup of package manager dependencies.

The sources can be found in:
* QtCreator/src/share/3rdparty/package-manager/conan.cmake
* https://github.com/conan-io/cmake-conan

The MIT License (MIT)

Copyright (c) 2018 JFrog

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the «Software»), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

TartanLlama/expected

Implementation of std::expected compatible with C++11/C++14/C++17.

https://github.com/TartanLlama/expected

To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any warranty.

http://creativecommons.org/publicdomain/zero/1.0/

В этой статье мы разберём как установить Qt на Windows 7 и выше, плоть до Windows 10, думаю вам будет полезно и интересно.

Также если вы планируете в будущем перейти на Linux, то для установки Qt на него, прочитайте статью «Как установить Qt 5 на Linux Ubuntu».

Как установить Qt на Windows:

Чтобы вам установить Qt, вам сначала нужно скачать установщик, сделать это можно с официального сайта, переходим на него.

Там сверху вы увидите кнопку с надписью «Download. Try.» нажмите на неё. Вы перейдёте на страницу с разными версиями для скачивания Qt, я выберу Open Source, там надо будет нажать на кнопку «Go open source».

Open source версия Qt

Теперь вы переходите на другую страницу, где вам нужно скролить до самого низа, вы увидите кнопку «Download the Qt Online Installer», нажимаете на неё. Теперь когда вы проскролите немного в низ, увидите кнопку «Download», и у вас наконец начнёт скачиваться установщик.

Скачиваем Qt

Когда у вас скачался установщик, можете перейти к установке.

Установка Qt:

Для установки Qt правой кнопкой мыши два раза кликаем по установщику, который скачали выше.

Вам надо будет ввести Email и пароль от учётной записи Qt, поэтому если у вас её нет, надо будет зарегистрироваться, сделать это сможете по ссылке.

Начала установки Qt на Windows 10 или 7, 8

Далее нажимаете кнопку «Next», потом со всем соглашаетесь и опять нажимаете «Next», дальше выбираем, отправлять ли данные или нет, тут уже на свой выбор.

Выбор отправки данных

Я выбрал не отправлять данные, вам тоже рекомендую так сделать, нажимаем «Next», потом вам предложат выбрать путь до программы и способ установки.

Дальше вам нужно выбрать компоненты для установки, я выбрал для базовой работы, вы можете назначить другие.

Выбор компонентов для Qt на Windows 10

Также нажимаете «Next», потом ещё раз со всем соглашаетесь и идёт установка. После того как установка прошла, можете начать работать.

Как возможно вы заметили, я устанавливал на Windows 10, но инструкция подойдёт и начиная с Windows 7.

Вывод:

В этой статье вы узнали как установить Qt на Windows 10, но и также для Windows 7 и 8, думаю вам было интересно и полезно.

Подписываетесь на соц-сети:

Оценка:

Загрузка…

Также рекомендую:

Each software is released under license type that can be found on program pages as well as on search or category pages. Here are the most common license types:

Freeware

Freeware programs can be downloaded used free of charge and without any time limitations. Freeware products can be used free of charge for both personal and professional (commercial use).

Open Source

Open Source software is software with source code that anyone can inspect, modify or enhance. Programs released under this license can be used at no cost for both personal and commercial purposes. There are many different open source licenses but they all must comply with the Open Source Definition — in brief: the software can be freely used, modified and shared.

Free to Play

This license is commonly used for video games and it allows users to download and play the game for free. Basically, a product is offered Free to Play (Freemium) and the user can decide if he wants to pay the money (Premium) for additional features, services, virtual or physical goods that expand the functionality of the game. In some cases, ads may be show to the users.

Demo

Demo programs have a limited functionality for free, but charge for an advanced set of features or for the removal of advertisements from the program’s interfaces. In some cases, all the functionality is disabled until the license is purchased. Demos are usually not time-limited (like Trial software) but the functionality is limited.

Trial

Trial software allows the user to evaluate the software for a limited amount of time. After that trial period (usually 15 to 90 days) the user can decide whether to buy the software or not. Even though, most trial software products are only time-limited some also have feature limitations.

Paid

Usually commercial software or games are produced for sale or to serve a commercial purpose.

Qt — это кросс-платформенный фреймворк, с помощью которого можно создавать программное обеспечение, которое будет компилироваться в исполняемые файлы для различных операционных систем без изменения или с минимальным изменением кода. Первоначально платформа Qt создавалась для работы с кодом на языке программирования C++, однако вскоре появились наборы расширений для программирования на PHP, Python, Ruby и Java.

Являясь объектно-ориентированной средой программирования рассчитанной на мультиплатформенную разработку, Qt распространяется вместе с классами и библиотеками необходимыми для разработки элементов интерфейса в различных платформах, поддержки работы с сетью и подключения к базам данных, что делает его пригодным «из коробки» для создания большинства прикладных программ. Как и у большинства современных сред разработки и фреймворков, при необходимости функциональность Qt можно значительно расширить с помощью подключаемых плагинов и виджетов.

Фактически после выхода версии 4.5.0, которая получила интегрированный модуль Qt Creator, фреймворк стал представлять собой полноценную мультиплатформенную среду разработки в которой можно полноценно писать код, разрабатывать графические интерфейсы  режиме визуального редактора с помощью модуля Qt Designer, разрабатывать кросс-платформенную справку воспользовавшись Qt Assistant и локализировать своё приложение на множество языков с благодаря модулю Qt Linguist.

Как и в случае с большинством свободно распространяемых программ, вы можете скачать исходный код Qt с официального сайта и собственноручно собрать нужные модули с персональными пожеланиями, однако в большинстве случае достаточно скачать Qt в виде автоматизированного установщика и просто выбрать, какие именно компоненты вам необходимы

Большинство модулей фреймворка Qt распространяются по лицензии LGPL v3 и GPL v3 с открытым исходным кодомLGPL v3 и GPL v3 с открытым исходным кодом и его можно скачивать и использовать бесплатно. При этом нужно иметь в виду, что лицензия некоторых модулей требует, чтобы создаваемый вами продукт так же распространялся под лицензией совместимой с GPL. Подробности лицензирования можно уточнить на официальном сайте фреймворка.

cpp

Язык C++ является компилируемым языком. Для преобразования текстового файла с программой в исполняемый exe-файл потребуется установить на компьютер специальную программу — компилятор. Для компиляции примеров из книги мы воспользуемся бесплатной программой g++.exe, входящей в состав популярной библиотеки MinGW, которая в свою очередь входит в состав библиотеки Qt.

Для загрузки библиотеки Qt переходим на сайт https://www.qt.io/ и нажимаем кнопку Download. Далее нажимаем кнопку из раздела Downloads for open source users. На следующей странице нажимаем кнопку Download the Qt Online Installer. Скачиваем программу установки и запускаем файл qt-unified-windows-x86-4.1.0-online.exe. Обратите внимание: для установки библиотеки потребуется активное подключение к сети Интернет.

После запуска программы установки отобразится окно, показанное на рис. 1.3. Вводим регистрационные данные или создаем новый аккаунт. Нажимаем кнопку Next. Если создавался новый аккаунт, то на адрес электронной почты придет письмо со ссылкой, позволяющей подтвердить адрес. Переходим по ссылке, а затем возвращается к программе установки и нажимаем кнопку Next.

На следующем шаге (рис. 1.4) устанавливаем флажки и нажимаем кнопку Next. В следующем окне (рис. 1.5) нажимаем кнопку Next. Далее нужно выбрать один из переключателей (рис. 1.6). Выбираем и нажимаем кнопку Next.. На следующем шаге (рис. 1.7) должен быть указан путь C:Qt и установлен флажок Custom installation. Нажимаем кнопку Next..

В следующем окне (рис. 1.8) устанавливаем флажок Latest releases. и нажимаем кнопку Filter. Затем в разделе Qt раскрываем список Qt 6.1.0 и устанавливаем флажок MinGW 8.1.0 64-bit. В разделе Developer and Designer Tools (рис. 1.9) устанавливаем флажки: Qt Creator 4.15.0 CDB Debugger Support, Debugging Tools for Windows и MinGW 8.1.0 64-bit. Нажимаем кнопку Next. В открывшемся окне (рис. 1.10) принимаем лицензионное соглашение и нажимаем кнопку Next. Затем (рис. 1.11) опять нажимаем кнопку Next. Нажимаем кнопку Install (рис.1.12) для запуска установки. После завершения установки нажимаем кнопку Finish (рис. 1.13).

1_3.jpg

Рис. 1.3. Установка Qt. Шаг 1

1_4.jpg

Рис. 1.4. Установка Qt. Шаг 2

1_5.jpg

Рис. 1.5. Установка Qt. Шаг 3

1_6.jpg

Рис. 1.6. Установка Qt. Шаг 4

1_7.jpg

Рис. 1.7. Установка Qt. Шаг 5

1_8.jpg

Рис. 1.8. Установка Qt. Шаг 6. Раздел Qt

1_9.jpg

Рис. 1.9. Установка Qt. Шаг 6 Раздел Developer and Designer Tools

1_10.jpg

Рис. 1.10. Установка Qt. Шаг 7

1_11.jpg

Рис. 1.11. Установка Qt. Шаг 8

1_12.jpg

Рис. 1.12. Установка Qt. Шаг 9

1_13.jpg

Рис. 1.13. Установка Qt. Шаг 10

В результате библиотека Qt будет установлена в каталог C:Qt6.1.0mingw81_64. В каталоге C:Qt6.1.0mingw81_64bin можно найти библиотеки, необходимые для работы оконных приложений. Библиотека MinGW будет установлена в каталог C:QtToolsmingw810_64. Программу g++.exe, предназначенную для компиляции программ, написанных на языке C++, можно найти в каталоге C:QtToolsmingw810_64bin.

В каталог C:QtToolsQtCreatorbin был установлен редактор QtCreator, который мы будем использовать для набора кода и сборки проектов. Запустить редактор можно с помощью файла qtcreator.exe. Если на последнем шаге мастера был установлен флажок, то редактор запустится автоматически.

Пути к каталогам C:QtToolsmingw810_64bin и C:Qt6.1.0mingw81_64bin можно добавить в системную переменную PATH. Однако мы этого делать не станем, чтобы можно было использовать сразу несколько компиляторов. Вместо изменения переменной PATH на постоянной основе мы будем выполнять изменение в командной строке только для текущего сеанса. Продемонстрируем это на примере, а заодно проверим работоспособность компилятора. Запускаем командную строку и выполняем следующие команды:

C:UsersUnicross>cd C:

C:>set Path=C:QtToolsmingw810_64bin;C:Qt6.1.0mingw81_64bin;%Path%

C:>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

C:>g++ --version
g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Первая команда (cd C:) делает текущим корневой каталог диска C:. Вторая команда (set Path=C:QtToolsmingw810_64bin;C:Qt6.1.0mingw81_64bin;%Path%) изменяет значение системной переменной PATH для текущего сеанса. Пути к каталогам C:QtToolsmingw810_64bin и C:Qt6.1.0mingw81_64bin мы добавили в самое начало переменной PATH. Третья команда (gcc --version) выводит версию программы gcc.exe. Эту программу можно использовать для компиляции программ, написанных на языке C. Четвертая команда (g++ --version) выводит версию программы g++.exe. Эту программу мы будем использовать для компиляции программ, написанных на языке C++. Фрагменты перед командами означают приглашение для ввода команд. Текст после команд является результатом выполнения этих команд.

Вместо выполнения отдельных команд можно написать скрипт, который выполняет сразу несколько команд и отображает результат их выполнения в отдельном окне. Запускаться такой скрипт будет с помощью двойного щелчка левой кнопкой мыши на значке файла. Для создания файла потребуется текстовый редактор, позволяющий корректно работать с различными кодировками. Советую установить на компьютер редактор Notepad++. Скачать редактор можно абсолютно бесплатно со страницы https://notepad-plus-plus.org/. Из двух вариантов (архив и инсталлятор) советую выбрать именно инсталлятор, т. к. при установке можно будет указать язык интерфейса программы. Установка Notepad++ предельно проста и в комментариях не нуждается.

Запускаем Notepad++ и создаем новый документ. Консоль в Windows по умолчанию работает с кодировкой windows-866, поэтому мы должны и файл сохранить в этой кодировке, иначе русские буквы будут искажены. В меню Кодировки выбираем пункт Кодировки | Кириллица | ОЕМ 866. Вводим текст скрипта (листинг 1.1) и сохраняем под названием script.bat в каталоге C:book. Запускаем скрипт с помощью двойного щелчка левой кнопкой мыши на значке файла script.bat. Результат выполнения показан на рис. 1.14. Для закрытия окна консоли достаточно нажать любую клавишу.

@echo off
title Заголовок окна
cd C:
echo Текущий каталог: %CD%
@echo.
set Path=C:QtToolsmingw810_64bin;%Path%
rem Вывод версии gcc.exe
echo gcc --version
@echo.
gcc --version
rem Вывод версии g++.exe
echo g++ --version
@echo.
g++ --version
pause

Рассмотрим инструкции из этого скрипта:

  • title — позволяет вывести текст в заголовок окна консоли;
  • echo — выводит текст в окно консоли;
  • @echo. — выводит пустую строку в окно консоли;
  • %CD% — переменная, содержащая путь к текущему рабочему каталогу;
  • %Path% — переменная, содержащая значение системной переменной PATH;
  • rem — вставляет комментарий, поясняющий фрагмент кода;
  • pause — ожидает ввода любого символа от пользователя. Если эту инструкцию убрать из скрипта, то программа выполнится и окно консоли сразу закроется, не дав нам возможности увидеть результат.

1_14.png

Рис. 1.14. Результат выполнения листинга 1.1

Учебник C++ (Qt Creator и MinGW)
Учебник C++ (Qt Creator и MinGW) в формате PDF

Feedback from our recent Qt for Beginners webinar series indicated a need for some basic tutorials for beginners. If you struggle with initially getting Qt set up for development with the Qt Creator IDE and a C++ compiler, this post is for you.  I’ll walk you step by step through the process of getting a Qt development environment running on Windows, providing lots of screen shots to guide you.

Assumptions and Prerequisites

For this example I’ll assume you are running Windows 10. We will install the Open Source version of Qt 5.7.0 using the MinGW C++ compiler and the Qt Creator IDE. Installation should be similar if you use a different version of Windows or a different version of Qt. We will use the free MinGW compiler as it makes the setup easy, coming as part of the Qt install. You will need at least 5 GB of free disk space and an Internet connection in order to download the installer and Qt components. Let’s get started!

ICS recommends Qt Commercial for support, maximum IP protection, and because we all should support the community. (The Qt Company offers a free 30-trial version of Qt Commercial.)

Installation Steps

Fire up your web browser and go to http://qt.io. Click on «Download».

The website will ask you a few questions to determine whether you want the Open Source or commercial versions of Qt. To get the Open Source version select «Open source distribution under an LGPL or GPL license»

Say Yes to «Are you prepared to make your application source code publicly available?»

Say Yes to «Are you able to comply with the obligations of the LGPL v3 (or GPL v2/v3) and/or does your corporation allow open source usage?»

Then click on «Get started» and then «Download Now».

For a quicker way to download Qt and to get different versions other than the latest, you can instead go to http://download.qt.io. Select official_releases, then online_installers, and select to download qt-unified-windows-x86-online.exe


The download is reasonably small (18 MB) and will try to use a local server near you.

Once downloaded, run the installer program. You will probably need to accept the Windows dialog that requests permission to run the installer.

The installer will come up. Hit Next.

If you have a Qt online account, enter the information here. If you want to create one, go ahead. Otherwise just select Skip to proceed.

Click Next.

It will now download information about the available components from a remote server.

Pick the installation folder (the default is normally fine unless you need more disk space on another drive). A path with spaces in it or that is very long may cause problems later, so avoid doing that.

Now, choose the Qt components you want. Let’s do a minimal install. If you want more components you can select them. I expanded Qt 5.7, and under that section selected only MinGW 5.3.0 32-bit, turning off the rest of the checkboxes. The only other item I selected was under Tools, where Qt Creator 4.1.0 is always shown and is not optional.
Click Next.

Next read and accept the license agreement.

Then pick the Start menu shortcuts you want. The default is typically fine.

Installation is now ready, so select Next.

At this point it will download all the selected components. This will take a while depending on the speed of your Internet connection.

After downloads are completed it will start installing.
Screenshot (29).png

When done, click Finish and launch Qt Creator for the first time.

Qt Creator will launch and show the Welcome screen.

Qt Creator should auto-detect the Qt install and compiler and create a «kit» for desktop development. Look under Tools / Options Build & Run if you want to verify this.


We can now test the installation by creating a simple project. Let’s start with one for widgets: Select File / New File or Project…

Pick Application and Qt Widgets Application:

Click Choose… and pick a project name, such as demo1. Click Next.

Pick the kit (only one option is available) then Next.

You can specify some more information. Pick the defaults unless you want to use something else. Pick no project management.

You will now see the created skeleton application. You can look at the source code if desired: a main.cpp, mainwindow class header and cpp files, and a Qt Designer UI file.

Click the hammer icon at lower left to build it. You can click on Compiler Output if you want to see it. The project should successfully build.

You can now click on the green triangle icon to run it. After doing so, it should launch and you will see a window named MainWindow come up.

You might also want to try a QML application. Select File / New File or Project… and pick Application / Qt Quick Application (or whatever you prefer).

Build and run it as before.

If the above steps worked you are all set up to develop with Qt on the desktop. You can now create your own applications from scratch or start with one of the many examples or tutorials available within Qt Creator.

Under the Start menu you will see a Qt section with entries for Qt Creator, as well as Assistant, Designer and Linguist in case you want to run these tools on their own. There is also an entry for a command prompt for Qt, which will have qmake and other tools in the path so you can work from the command line if desired.

If you want to go back and add or remove more Qt components, run «Uninstall Qt» which is the maintenance tool we used earlier. 

Select to Add or remove components or Update components.

Summary

I hope that you now appreciate that setting up Qt for desktop development is easy and you can be up and running very quickly. This example covered one of the most common setups. It is possible to use other compilers like Microsoft Visual Studio and even different IDEs if you desire. In the future I plan to continue this series for beginners, covering how to set up on a development environment on a Linux desktop and how to compile Qt from source.

Понравилась статья? Поделить с друзьями:
  • Qt everywhere how to install windows
  • Qt designer python скачать windows 64
  • Qt creator не видит библиотеки windows
  • Qt creator build for linux under windows
  • Qss скачать программу для windows 7