Evgenii Legotckoi
Sept. 27, 2015, 9:11 p.m.

QtQt/C++ - Lesson 022. How to change cursor shape in Qt?

QCursor, Qt, Qt уроки, mouse

The task "to customize the cursor in the" confronts a programmer when required by the design of the program, or is being developed game software, and it becomes a matter of design and atmosphere of the game.

Customization cursor in …

Read
Evgenii Legotckoi
Sept. 24, 2015, 8:56 p.m.

QtQt/C++ - Lesson 021. The drawing mouse in Qt

QGraphicsScene, рисование QGraphicsScene, Qt урок, рисование, Рисование Qt, рисование мышью, Qt5, Qt

In this lesson, let us learn drawing with the mouse in Qt, based on the most primitive analogue Paint using QGraphicsScene . No adjustments or brush size, or palette, or special effects, and a red line, which we will draw …

Read
Evgenii Legotckoi
Sept. 23, 2015, 9 p.m.

QtHow to make game using Qt - Lesson 5. Adding sound QMediaPlayer

написать игру, GameDev, QMediaPlayer, QMediaPlaylist, Qt, Qt звук

Getting to the fifth and final lesson on writing games on Qt, which will add sound using QMediaPlayer class. I propose to add the three types of sounds: Eating apples, buzzing flies that will be buzzing when moving and heartbreaking …

Read
Evgenii Legotckoi
Sept. 22, 2015, 10:36 p.m.

QtHow to make game using Qt - Lesson 4. Enemy – meaning in the survival

QGraphicsScene, написать игру, GameDev, QGraphicsItem, Qt, QPainter

Continuing the theme of how to write a play on Qt. Once in past articles a fly was created, that eating apples, it is time to create her enemy. And the enemy flies, as is well known, the spider. Creation …

Read
Evgenii Legotckoi
Sept. 20, 2015, 10:08 p.m.

QtHow to make game using Qt - Lesson 3. Interaction with other objects

QGraphicsScene, написать игру, GameDev, QGraphicsItem, Qt, QPainter

Once the game has animated fly, which moves under the influence of the keyboard shortcuts, it is time to add meaning to the game. Add goal Fly, for example, it will eat the apples that will be counted. That is, …

Read
Evgenii Legotckoi
Sept. 19, 2015, 9:33 p.m.

QtHow to make game using Qt - Lesson 2. Animation game hero (2D)

написать игру, анимация, GameDev, Qt, QPainter

In the second lesson we'll get to the next aspect of the writing of the game - the hero Animation. In the last lesson it was considered as a control object in the graphic scene, and the main character played …

Read
Evgenii Legotckoi
Sept. 18, 2015, 8:54 p.m.

QtHow to make game using Qt - Lesson 1. Control of object

QGraphicsScene, написать игру, WinAPI, GameDev, QGraphicsItem, getasynckeystate, Qt

With this lesson begins a series of articles on how to write a play on Qt. In the previous article it was told about the system of positioning of graphical elements QGraphicsItem in the graphic scene QGraphicsScene . It was …

Read
Evgenii Legotckoi
Sept. 17, 2015, 8:22 p.m.

QtQt/C++ - Lesson 019. How to paint triangle in Qt5. Positioning shapes in QGraphicsScene

треугольник, QGraphicsItem, QPolygon, Рисование Qt, Qt5, Qt, Рисование Qt5, QPainter

Drawing interfaces, the formation of the database tables, work with the network - it's all good, but sometimes you want to just draw something, such as a triangle. And then of course, revive this place, so that they can be …

Read
Evgenii Legotckoi
Sept. 14, 2015, 10:36 p.m.

QtQt/C++ - Lesson 018. QGraphicsItem – The inheritance and slots

QGraphicsItem, множественное наследование, QGraphicsItem слот, QGraphicsItem Qt, Qt, QGraphicsItem example

Let's talk a little about the inheritance from QGraphicsItem and application of signals and slots system in interaction with graphical objects on the graphic scene QGraphicsScene . The objective of this lesson is to create an application that on the …

Read
Evgenii Legotckoi
Sept. 12, 2015, 10:12 p.m.

QtQt/C++ - Lesson 017. QGraphicsScene – How to work with graphics in Qt

QGraphicsScene, Qt, QGraphicsScene пример, QGraphicsScene Qt5, QGraphicsScene example

From this article we begin to explore the Qt graphic libraries, to be exact, QGraphicsScene. This class provides the functionality to manage a large number of 2D objects. QGraphicsScene set to QGraphicsView.

We describe the features that need to be …

Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup