Дмитрий
ДмитрийDec. 31, 2020, 4:19 p.m.

C++Generating pseudo-random numbers in Qt (QRandomGenerator)

QRandomGenerator

This note is a small addition to the article Generating pseudo-random numbers using the random STD library . The author omitted one of the useful functions of the QRandomGenerator class in it. The generator implementation is as follows:

QRandomGenerator *rg …
Read
mafulechka
mafulechkaOct. 13, 2020, 12:57 p.m.

QtAsynchronous APIs in Qt 6

QFuture, Asynchronous, QtConcurrent, Qt, QThreadPool, Qt 6

As readers may already know, Qt provides several threading constructs (threads, mutexes, wait states, etc.) as well as higher-level APIs such as QThreadPool, Qt Concurrent, and other related classes. This article will cover the higher level asynchronous APIs and the …

Read
---
---Oct. 5, 2020, 6:11 p.m.

Python5 Ways to Remove Unnecessary Characters from a String in Python

python

Remove specific characters from the string


Let's use ' str.replace '

With the help of * str.replace *, we can change some characters to others. If we just want to remove some characters, then we simply replace them with an …

Read
mafulechka
mafulechkaSept. 16, 2020, 3:31 p.m.

QtQt Design Studio - Sketch Bridge tutorial part 2

Sketch, Qt Design Studio, UI/UX, Tutorial

Welcome to the second part of the Sketch Bridge for Qt Design Studio guide. At the end of the first part, you created the first button and made it work in various states in Qt Design Studio (abbreviated as qds …

Read
mafulechka
mafulechkaSept. 2, 2020, 2:14 p.m.

QtQt Design Studio - Sketch Bridge tutorial part 1

Sketch, Qt Design Studio, UI/UX, Tutorial

Welcome to the Qt Design Studio Sketch Bridge tutorial. To follow it, you will need the commercial package Qt Design Studio 1.5 and Sketch Bridge, macOS and Sketch (developer uses 66.1).

This tutorial will show you how to make a …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 21, 2020, 12:31 p.m.

C++Method call on nullptr

UB, nullptr, cpp

Let's take a look at a small code example when a method is called on an object that is initialized with nullptr .


Sample code

We are given the following program code.

#include <iostream>

using namespace std;

struct X
{ …
Read
Дмитрий
ДмитрийJune 28, 2020, 6:03 p.m.

QtComputer Geometry with Qt Creator

аналитическая геометрия, C++ геометрия, Qt геометрия, QVector2D, геометрия, компьютерная геометрия, QVector4D, QVector3D

By means of this article, I want to share my experience in using computer geometry, which I have accumulated in the process of working on my dissertation. Not everyone knows Qt Creator contains tools for working with geometry (in particular …

Read
---
---June 26, 2020, 12:34 a.m.

PythonWhat&#39;s new in Python 3.9

Python 3.9, Python 3

Table of contents

It is currently in beta (3.9.0b3), and in the future we will see a full release of Python 3.9. A few of the new features are just incredibly cool, and it will be awesome to see them …

Read
mafulechka
mafulechkaJune 23, 2020, 4:09 p.m.

FlutterFlutter and desktop apps

Desktop, Web, Dart, Flutter

Continuous progress in computer technology

It's no secret that the Flutter developers' mission is to target a wide range of devices including iOS, Android, Windows, Linux, macOS and websites from a single codebase, with native compilation and game-quality rendering. . …

Read
mafulechka
mafulechkaJune 18, 2020, 3:50 p.m.

QtIntroducing Flow Mode in Qt Design Studio 1.5 - Part 1

UX, Design, Qt, UI, Designer

In version 1.5 of Qt Design Studio, you can try the flow mode functionality. The first part of this multi-part article will cover the basic usage of flow mode and how to get started. At the end of the article, …

Read
---
---June 16, 2020, 4:42 p.m.

PythonPython 10 line toast notifications

Python

Introduction

We often use print to monitor the state of a script, or when we're debugging. Instead of constantly looking at the terminal window and waiting for some kind of output, we can use toast notifications as a way to …

Read
IscanderChe
IscanderCheJune 15, 2020, 4:51 p.m.

C++A simple text editor in Ultimate ++

C++, U++, Ultimate++, UPP

I learned about Ultimate++ ( https://www.ultimatepp.org/ ) quite by accident when I read in an IT RSS feed about the next update of this framework. Well, I thought, since my pen projects are on hold, why not try something new. …

Read
1
  • 12333
  • July 18, 2024, 4:34 a.m.

Qt - Test 001. Signals and slots

  • Result:63points,
  • Rating points-1
1
  • 12333
  • July 18, 2024, 4:25 a.m.

C++ - Test 005. Structures and Classes

  • Result:50points,
  • Rating points-4
AM

C++ - Test 005. Structures and Classes

  • Result:33points,
  • Rating points-10
Last comments
d
dblas5July 5, 2024, 10:02 a.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
k
kmssrFeb. 8, 2024, 5:43 p.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 a.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 a.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
Now discuss on the forum
F
FynjyJuly 22, 2024, 3:15 a.m.
при создании qml проекта Kits есть но недоступны для выбора Поставил Qt Creator 11.0.2. Qt 6.4.3 При создании проекта Qml не могу выбрать Kits, они все недоступны, хотя настроены и при создании обычного Qt Widget приложения их можно выбрать. В чем может …
BlinCT
BlinCTJune 25, 2024, midnight
Нарисовать кривую в qml Всем привет. Имеется Лист листов с тосками, точки получаны интерполяцией Лагранжа. Вопрос, как этими точками нарисовать кривую? ChartView отпадает сразу, в qt6.7 появился новый элемент…
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 2:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
BlinCT
BlinCTMay 5, 2024, 4:46 a.m.
Написать свой GraphsView Всем привет. В Qt есть давольно старый обьект дял работы с графиками ChartsView и есть в 6.7 новый но очень сырой и со слабым функционалом GraphsView. По этой причине я хочу написать х…
Evgenii Legotckoi
Evgenii LegotckoiMay 2, 2024, 1:07 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Добрый день. По моему мнению - да, но то, что будет касаться вызовов к функционалу Андроида, может создать огромные трудности.

Follow us in social networks