Skip to content

Instantly share code, notes, and snippets.

: -- Создаём базу данных (если не существует)
CREATE DATABASE IF NOT EXISTS ChillCoffee
CHARACTER SET utf8mb4
COLLATE utf8mb4_0900_ai_ci;
-- Используем базу
USE ChillCoffee;
-- Таблица категорий
CREATE TABLE `categories` (
БД: -- Создаём базу данных (если не существует)
CREATE DATABASE IF NOT EXISTS ChillCoffee
CHARACTER SET utf8mb4
COLLATE utf8mb4_0900_ai_ci;
-- Используем базу
USE ChillCoffee;
-- Таблица категорий
CREATE TABLE `categories` (
@M1sant
M1sant / qt-pyside-mysql-tutorial.md
Last active December 24, 2025 11:39
Building Desktop Applications with Qt Creator, PySide, and MySQL

Introduction to the Technology Stack When it comes to building robust, cross-platform desktop applications, few stacks are as powerful as combining Qt Creator, PySide (Python bindings for Qt), and MySQL Connector. This combination allows developers to create professional-grade applications with beautiful interfaces and robust database functionality.

Why This Stack? Qt Creator provides a comprehensive IDE specifically designed for Qt development, offering excellent UI design tools and debugging capabilities. PySide brings the power of Qt to Python developers, allowing for rapid development with one of the most popular programming languages. MySQL Connector enables seamless integration with MySQL databases, a proven and widely-used relational database system.

Setting Up Your Development Environment Before diving into code, you need to set up your environment:

Install Python (3.7 or higher recommended)