Questions tagged [qt]

Qt is a cross-platform application development framework widely used for the development of GUI programs.

Qt (pronounced officially as cute (/kyut/) though commonly pronounced as Q.T. (/ˈkyu ti/)) is a cross-platform application development framework widely used for the development of GUI programs (where it functions like a cross-platform widget toolkit), and also used for developing non-GUI programs such as console tools and servers. wikipedia

Qt was created by Trolltech, and is currently developed and maintained by Digia.

Current version:

The latest official release is 6.2, released in September 2021. The major version indicates API and binary compatibility.

Resources:

There is extensive official documentation (all classes) available on Qt's website, in addition to tutorials and examples. You will often see these tutorials and examples referenced in the questions and answers on this site. Qt also provides an integrated development environment named Qt Creator. Though it mainly aims at creating Qt applications, it can be used to create regular C++ applications.

Writing recommendation

Qt is a cross-platform application development framework, but QT (QuickTime) - is an extensible multimedia framework developed by Apple Inc.

License

Qt is available under four different licenses:

  1. GNU General Public License (GPL) version 3.0
  2. GNU Lesser General Public License (LGPL) version 2.1
  3. GNU Lesser General Public License (LGPL) version 3.0
  4. Qt Commercial License (which comes in three versions with different features and prices: "Indie Mobile", "Professional" and "Enterprise")

Video Courses

Pluralsight has a series of three courses on Qt:

Introduction to Qt: A C++ Cross Platform Application Framework
Qt Quick Fundamentals
Integrating Qt Quick and C++

Pluralsight is a subscription based but if you're only interested in Qt you can send the author @todgentille a private tweet and request a week long VIP pass. You'll get unlimited access to the higher subscription level for a week that allows viewing online and offline and you can download the course materials.

Books

Qt introductory books:

Integrated learning of Qt and C++:

Concepts of UI design:

Check out the official Qt documentation for more details of recommended books about Qt programming.

115 questions
223
votes
14 answers

Why aren't more desktop apps written with Qt?

As far as I know and have understood in my experience with Qt, it's a very good and easy to learn library. It has a very well designed API and is cross-platform, and these are just two of the many features that make it attractive. I'm interested to…
Dehumanizer
  • 1,381
  • 2
  • 12
  • 20
36
votes
1 answer

raw, weak_ptr, unique_ptr, shared_ptr etc... How to choose them wisely?

There is a lot of pointers in C++ but to be honest in 5 years or so in C++ programming (specifically with the Qt Framework) I only use the old raw pointer: SomeKindOfObject *someKindOfObject = new SomeKindOfObject(); I know there are a lot of…
CheshireChild
  • 499
  • 1
  • 5
  • 7
33
votes
8 answers

Is Learning C++ Through The Qt Framework Really Learning C++

The problem I have, is that most of the C++ books I read spend almost forever on syntax and the basics of the language, e.g. for and loops while, arrays, lists, pointers, etc. But they never seem to build anything that is simple enough to use for…
user866190
  • 539
  • 1
  • 5
  • 6
25
votes
10 answers

Qt's future in the light of Nokia-Microsoft partnership

In case you missed it, a lot has happened in the last two day that could potentially impact the Qt framework, for the worse. :-( It will impact the mobile sector in several and probably not currently acknowledged ways, for sure. It started yesterday…
Shinnok
  • 535
  • 4
  • 9
19
votes
3 answers

QT-C++ vs Generic C++ and STL

Been brushing up on my C++ lately, on Ubuntu QQ. I love the Qt framework for everything, especially building GUI's. I became quite familiar with it when using PyQt over the last few years. When using PyQt, I had some issues that are now more…
Vector
  • 3,180
  • 3
  • 22
  • 25
18
votes
7 answers

To rewrite or slowly refactor old C++ project

Our team has recently inherited a relatively large project from another company (~250k lines). It was developed using C++Builder and we intend to port the Ui side to Qt. Most of the Ui code is separate from the business logic (yay!) but the logic…
Boumbles
  • 303
  • 2
  • 11
13
votes
4 answers

Merits of copy-on-write semantics

I am wondering what possible merits does copy-on-write have? Naturally, I don't expect personal opinions, but real-world practical scenarios where it can be technically and practically beneficial in a tangible way. And by tangible I mean something…
dtech
  • 713
  • 6
  • 17
13
votes
3 answers

Are Nested Static Library dependencies possible?

I am working in QT . Can a static library depend on another static library?(Static Lib is made by linking another static lib) If yes, is it possible that after linking to lib2, the generated lib(lib1) would not contain all the codes of lib2? In…
sk patra
  • 457
  • 2
  • 8
  • 12
12
votes
4 answers

What are some standard design methods to add GUI to a command line app?

I have an embedded Linux C application that runs with a simple CLI. I am now tasked with creating a GUI that accomplishes the same functionality as the command line program. I am not an accomplished GUI designer and the majority if my experience is…
Brandon Yates
  • 228
  • 1
  • 2
  • 5
11
votes
5 answers

Moving from Qt/C++ to C#/WPF - Productivity Gain?

I created a small Desktop application (approx 15000 lines of code, so not that large) written in C++/Qt. This is non-commerical, just a hobby project and I am coding on my free time. The larger the application gets, I find it more and more tedious…
ndbd
  • 349
  • 1
  • 3
  • 8
11
votes
3 answers

Cross-platform desktop programming: C++ vs. Python

Alright, to start off, I have experience as an amateur Obj-C/Cocoa and Ruby w/Rails programmer. These are great, but they aren't really helpful for writing cross-platform applications (hopefully GNUStep will one day be complete enough for the first…
John Wells
  • 221
  • 1
  • 2
  • 5
10
votes
1 answer

Is it OK to use the MIT license for a project that uses Qt?

I built a Qt application. Am I allowed to LICENSE it under the MIT license? Qt is a cross-platform application and UI framework for developers using C++ or QML, a CSS & JavaScript like language. Qt Creator is the supporting Qt IDE. Qt Cloud…
Ionică Bizău
  • 223
  • 3
  • 7
10
votes
6 answers

How can I get more programming experience

I am going to be a third year computer science student and I have read Head first Java, Head First C, and I am currently reading C++ which is the language that I like the most since it has a good teaching style for people with experience. I am…
Anthony
  • 109
  • 1
  • 3
9
votes
4 answers

What are the dangerous corners of Qt?

There's nothing perfect under the sun. Qt is no exception, and it does have limitations: we can't use pixmaps in a thread other than GUI, we can't use QImage with 16-bit-per-channel image format, etc.. Which situations have forced you to spoil the…
vines
  • 1,176
  • 1
  • 8
  • 19
8
votes
1 answer

Is hardware accelerated GUI data kept on the GPU

I am doing some research as to how most hardware accelerated GUI libraries work. I am actually only care about the rendering backends of them here. I am trying to figure out what would be the best way to try and write my own as a sort of side…
Gerharddc
  • 191
  • 1
  • 6
1
2 3 4 5 6 7 8