qt_reddit | Unsorted

Telegram-канал qt_reddit - Qt - Reddit

15

News and discussion for the Qt Framework. Subreddit: https://www.reddit.com/r/QtFramework Powered by : @r_channels & @reddit2telegram

Subscribe to a channel

Qt - Reddit

Anyone Pyqt5 developer here ?

I am new at pyqt5 and looking for some guidance

I was developing a pyqt5 application

and i need to resize the window after widget changes

python My main.py file

from PyQt5 import QtWidgets
from PyQt5.QtWidgets import QApplication, QDialog,QMainWindow
from PyQt5.uic import loadUi
import sys
from tasks import Tasks



class MainWindow(QMainWindow):
   
    def init(self):
        super(MainWindow,self).init()
        loadUi("main.ui",self)


   
        self.tasks.clicked.connect(self.taskfunc)
       
   
    def task
func(self):
        widget.setCurrentIndex(widget.currentIndex() +  1)





## adjusting size of next widget
## call widget by name rather by index




if name == "main":
    app = QApplication(sys.argv)
    widget = QtWidgets.QStackedWidget()


    widget.addWidget(MainWindow())
    widget.addWidget(Tasks())
   
    widget.show()
    sys.exit(app.exec())

and my [
tasks.py](http://tasks.py/) file

from PyQt5 import QtWidgets
from PyQt5.QtWidgets import QApplication, QDialog,QMainWindow
from PyQt5.uic import loadUi
import sys

class Tasks(QMainWindow):

def \
_init__(self):
super(Tasks,self).__init__()
loadUi("tasks.ui",self)
self.resize(1200,1200)

Like i want my home page to be of geometry (200,200)

and my tasks page to be of (1200,1200 ) is this possible ??Anyone Pyqt5 developer here ?

https://redd.it/1pun3n2
@qt_reddit

Читать полностью…

Qt - Reddit

When is the next Qt LTS release expected?

Hi everyone,

I'm planning a long-term project and I'm trying to understand when the next Qt LTS release is expected to be available.

Qt 6.8 LTS was released in October 2024, and I know that historically Qt has followed a consistent pattern for LTS releases (Qt 5 had 5.6, 5.9, 5.12, and 5.15 LTS).

Does anyone know when the next LTS is planned? Has Qt Company published any official roadmap or timeline for upcoming LTS releases?

I need to decide whether to start my project with 6.8 LTS now or wait for the next LTS version.

https://redd.it/1ptov7u
@qt_reddit

Читать полностью…

Qt - Reddit

codepointer- version 0.1.0 (alpha1) - new C++ IDE/editor

I am releasing a new version of my IDE codepointer (was qtedit4).

This release gets lot of small changes:

1. New name + icon (look at the about!)
2. New default layout, press alt+m to open the menu app, or alt+control+m to use a more traditional layout.
3. Panels can be hidden with keyboard (control+1,2... etc).
4. Initial git support (currently, you can only git diff ). More integration will come.

https://gitlab.com/codepointer/codepointer

Windows preview

Notes on alpha1:

My github account which is hosting the original code is no longer available. I am waiting for github's support for help bringing it back. So far, no success. If anyone can help, contact me in private.

I am sharing the AppImage and exe from my personal Google Drive. I assume this is not idea, and I should shut it down ASAP. Any alternatives are welcomed (I contacted https://www.fosshub.com/ but got no response yet).

https://redd.it/1ptb7c8
@qt_reddit

Читать полностью…

Qt - Reddit

Im trying to use webview on qt in c++ but it doesnt work for me

i did install the webview and webengine stuff from the official qt online installer tho in the c++ code it doesnt for some reason and even visual studio code doesnt auto correct or even recognize it and even my compiler doesnt recognize it (mingw x64 windows) and also is my settings file correct?

{
"tabnine.experimentalAutoImports": true,
"security.workspace.trust.untrustedFiles": "open",
"files.autoSave": "afterDelay",
"workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-auto",
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"explorer.confirmDelete": false,
"workbench.productIconTheme": "a-file-icon-vscode-product-icon-theme",
"python.defaultInterpreterPath": "C:\\Python313\\python.exe",
"terminal.explorerKind": "both",
"editor.fontFamily": "JetBrains Mono",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"makefile.configureOnOpen": true,
"glassit.alpha": 255,
"python.createEnvironment.trigger": "off",
"go.toolsManagement.autoUpdate": true,
"clangd.path": "c:\\Users\\aresg\\AppData\\Roaming\\Code\\User\\globalStorage\\llvm-vs-code-extensions.vscode-clangd\\install\\21.1.0\\clangd_21.1.0\\bin\\clangd.exe",
"explorer.confirmDragAndDrop": false,
"c-cpp-compile-run.cpp-compiler": "g++",
"C_Cpp.debugShortcut": false,
"C_Cpp.playButton": false,
"C_Cpp.default.compilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe",
"C_Cpp_Runner.cppCompilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe",
"C_Cpp_Runner.cCompilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe",
"C_Cpp.default.includePath": [
"${workspaceFolder}/**",
"C:\\Qt\\6.10.1\\mingw_64\\include",
"C:\\ProgramData\\mingw64\\mingw64\\include",
"C:\\Users\\aresg\\vcpkg\\installed\\x64-mingw-dynamic\\include"
],
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"zig": "zig run",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -std=c++20 -I \"C:/Qt/6.10.1/mingw_64/include\" -I \"C:/Users/aresg/vcpkg/installed/x64-mingw-dynamic/include\" \"C:/Qt/6.10.1/mingw_64/lib/libQt6WebEngineWidgets.a\" \"C:/Qt/6.10.1/mingw_64/lib/libQt6WebEngineCore.a\" -L \"C:/Qt/6.10.1/mingw_64/lib\" -L \"C:/Users/aresg/vcpkg/installed/x64-mingw-dynamic/lib\" -lQt6Widgets -lQt6Gui -lQt6Core -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -static-libgcc -static-libstdc++ && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runghc",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style

Читать полностью…

Qt - Reddit

qi3pc 1.0.0 - First release candidate
https://hantz.sh/devlog/2025/12/18/qi3pc-1-0-0-release-candidate-1.html

https://redd.it/1pqxjic
@qt_reddit

Читать полностью…

Qt - Reddit

QSaveFile
https://youtu.be/vPrR6EoPylU?si=06gooHWSMVSANwHR

https://redd.it/1pqfoxp
@qt_reddit

Читать полностью…

Qt - Reddit

built a GitHub actions based auto updater

Built a simple library to help you manage updates for your Qt application. It checks for new versions, downloads updates all based on GitHub releases

Currently being used in iDescriptor

Expect breaking changes as it is still in early development stage.

**https://github.com/libZQT/ZUpdater**

https://redd.it/1plbtvp
@qt_reddit

Читать полностью…

Qt - Reddit

Thank you Qt for quietly fixing a bug in MonthGrid and ruining everything ;-)

So lets say you have the following QML code:

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls

ApplicationWindow {
visible: true
width: 320
height: 240
property var myDate: new Date();
MonthGrid {
anchors.fill: parent
id: monthGrid
locale: Qt.locale("en_US")
Layout.fillWidth: true
month: myDate.getMonth();
year: myDate.getFullYear();

delegate: Label {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
enabled: model.month === myDate.getMonth()
text: model.day
Rectangle {
anchors.fill: parent
color: "blue"
opacity: .5
radius: 100
visible: (model.month === myDate.getMonth()) &&
(model.day === myDate.getDate())

}
}


onClicked: function(getDate) {
console.debug(getDate);
myDate = getDate;
}
}

}

You run it on Qt 6.9 or later. It works fine. Great! But run it on Qt 6.8 or older (including 5.15), you will notice the clicked date will always be off by one. Why? Because there was a bug in the MonthGrid's `onClicked` function that would give the wrong date. So they fixed it. Great, right? No! So you now need a different version of the code for Kubuntu 25.04 (or Debian 13) vs. 25.10! And it's not that easy to figure out if you got the 6.9 fix or not. Now I have to decide if I want to support Debian or not.

Thanks Qt, for ruining everything!!! (/s)

https://redd.it/1pj8p4q
@qt_reddit

Читать полностью…

Qt - Reddit

How to remove strange outline from the QComboBox popup?

I hope this is the right place to ask.

Using PySide6 on Linux, when i create a QComboBox and set its view as a QListView i get a rather ugly frame around the view (see screenshot). The styling of this is is independent of the QAbstractItemView and i cant seem to be able to remove it.


At first I thought it may be applied by the GTK theme I'm using, but changing it does nothing.

Any help would be appreciatedI

https://preview.redd.it/l7a0h1vg3a6g1.png?width=1920&format=png&auto=webp&s=332f073f2158122c6386eb8c9ea996ffe05e6a9f



https://redd.it/1piph4o
@qt_reddit

Читать полностью…

Qt - Reddit

DoubleSpinBox QML Type | Qt Quick Controls
https://doc-snapshots.qt.io/qt6-dev/qml-qtquick-controls-doublespinbox.html

https://redd.it/1phf05e
@qt_reddit

Читать полностью…

Qt - Reddit

How does QtQuick compare to Electron/Web from a productivity standpoint?

I know this is a difficult question to ask, as it is mostly subjective to people's experience.

However, that's precisely what I would like to hear, the opinion of people who have had experience in both UI worlds: Reactive Web and Reactive Qt.

And I don't mean the difficulty of using C++, because in that case, any dev that doesn't like C++ can just pick PySide and have a high level language experience.

Performance is also unimportant to the specific topic I am trying to research; of course NodeJS+Webview in Electron is going to take more memory than Qt, so lets not go into that topic for this discussion.

Web and QtQuick have these similarities:

- High level GC language (PySide/JavaScript) for productivity
- Reactive design (QML signals/Reactjs&friends)
- Markup language with runtime constructs (QML / JSX)
- Stylesheets ?

What are the differences in terms of developer experience and iteration speed?

What are the limitations that Qt might have over Web solutions?

I can foresee a limitation with pre-built components for instance, lets say a WYSIWYG editor might be easy to find in a modern pre-built state as a web component (CodeMirror, Monaco, ProseMirror, ProseMark) but it might need to be homebrewed for Qt.

---

Ideally these differences should be mapped out for people that are evaluating whether Qt or Web is better for their project.

https://redd.it/1pgvsl1
@qt_reddit

Читать полностью…

Qt - Reddit

New Learning Path at Qt Academy | Creating Qt Quick User Interfaces
https://www.qt.io/academy/course-catalog?#creating-qt-quick-user-interfaces

https://redd.it/1pdvfon
@qt_reddit

Читать полностью…

Qt - Reddit

I have a problem with this slider
https://redd.it/1pddbmv
@qt_reddit

Читать полностью…

Qt - Reddit

Need help with images in Qlabel

when i try to put an image to a label in a layout (the parent widget has a layout), the image always gets way scaled down and appears tiny in the center. The label size always seems to be the same (when in the layout) irrespective of the contents (text or image both, but it displays the text normally). how do i fix this problem?

https://redd.it/1pcd3rv
@qt_reddit

Читать полностью…

Qt - Reddit

Ecliptica Devlog 11 Parallax Occlusion Mapping, Glow and Cloud Effect on Qt Quick 3d
https://youtu.be/nSsbyEMFrsg

https://redd.it/1p8qp8n
@qt_reddit

Читать полностью…

Qt - Reddit

[Help][Qt v6.4.2] Why does SIGNAL/SLOT macro work QObject::connect for my QWebEngineView subclass but function pointers do not?

Hello all,

Per the title, I am using C++ Qt v6.4.2. I successfully used the new Qt6 style of connecting signals/slots such as


DNDWebEngineView *webView = new DNDWebEngineView();
QObject::connect(webView->page(), &QWebEnginePage::scrollPositionChanged, [this](const QPointF &position) { handleScrollPositionChanged(position); });

Where the header for DNDWebEngineView is as follows

#ifndef DNDWEBENGINEVIEW_H
#define DNDWEBENGINEVIEW_H

#include <QDragEnterEvent>
#include <QDropEvent>
#include <QWebEngineView>

class DNDWebEngineView : public QWebEngineView
{
Q_OBJECT
public:
explicit DNDWebEngineView(QWidget *parent = nullptr);
~DNDWebEngineView(){};

protected:
void dragEnterEvent(QDragEnterEvent *event) override;
void dropEvent(QDropEvent *event) override;

signals:
void updateStatusText(const QString &newFileOrUrl);
};

#endif // DNDWEBENGINEVIEW_H

I also have a CommandBarWidget whose header is as follows:

#ifndef COMMANDBARWIDGET_H
#define COMMANDBARWIDGET_H

#include <QLabel>
#include <QWidget>

class CommandBarWidget : public QWidget
{
Q_OBJECT
public:
explicit CommandBarWidget(QWidget *parent = nullptr);
~CommandBarWidget(){};

// ...

public slots:
void setStatusText(const QString &newFileOrUrl);
};

#endif // COMMANDBARWIDGET_H

I have a parent class (call it ParentWidget) that has the following code in its constructor:

DNDWebEngineView *webView = new DNDWebEngineView();
CommandBarWidget *cmdBar = new CommandBarWidget();

Which brings about my question, how do I hook this up such that a signal from webView will call a slot in cmdBar? As I understand it, the ParentWidget should contain the following code to make this happen:

QObject::connect(webView, &DNDWebEngineView::updateStatusText, cmdBar, &CommandBarWidget::setStatusText);

But that does not work. I get this super awesome lengthy and confusing [compiler error](https://imgur.com/a/CTXUsVX). I tried combinations of lambdas, local functions, putting the slot in the ParentWidget, etc. with no luck. What *does* work is this:

QObject::connect(webView, SIGNAL(updateStatusText(const QString &)), cmdBar, SLOT(setStatusText(const QString &)));

I don't understand why the old SIGNAL/SLOT macro syntax works for this case but the new function pointer syntax works everywhere else. It seems like this is an issue with subclassing QWebEngineView, even though that does have QObject as its root ancestor and the QOBJECT macro is included in my subclass.

While it is working with the macro syntax, I know this is not the correct solution and it's driving me mad! Any help would be greatly appreciated!


Thanks,

Blue

https://redd.it/1pu0ab0
@qt_reddit

Читать полностью…

Qt - Reddit

I built a small Python IDE focused on faster Qt UI iteration (live .ui preview)

I spend a lot of time building Python desktop apps with Qt, and one thing that kept slowing me down was the UI feedback loop.

The usual cycle was:

edit a `.ui` file in Qt Designer
recompile it
run the app
realize the layout still wasn’t quite right
repeat

When working with AI tools (ChatGPT, Claude, etc.) that cycle got even worse, because you often want to visually verify small UI changes quickly.

So I built PyStudio, a small open-source Python IDE focused specifically on Qt UI development.

The main idea is simple:

edit Python and .ui files side by side
load Qt Designer `.ui` files into a live, sandboxed preview
press a key and instantly see layout / visual changes without running the app

It’s very much inspired by the old VBA / Delphi style workflow where the UI is something you work with continuously, not a build artifact you wait on.

It’s early but functional, and this is the tool I now use for my own Qt projects.

GitHub repo (screenshot in README):
https://github.com/william17050/pystudio

I’m sharing it in case it scratches the same itch for others.
Feedback is welcome, especially from people who build UI-heavy Qt apps.

https://redd.it/1pte2ha
@qt_reddit

Читать полностью…

Qt - Reddit

expanded",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"sml": "cd $dir && sml $fileName",
"mojo": "mojo run",
"erlang": "escript",
"spwn": "spwn build",
"pkl": "cd $dir && pkl eval -f yaml $fileName -o $fileNameWithoutExt.yaml",
"gleam": "gleam run -m $fileNameWithoutExt"
},
"clang-format.language.cpp.enable": false,
"clangd.checkUpdates": true,
"clangd.detectExtensionConflicts": false,
"debug.onTaskErrors": "abort",
"workbench.colorTheme": "Visual Studio Dark - C++",
"C_Cpp.errorSquiggles": "enabled",
"chat.disableAIFeatures": true
}

even if my code is correct, it doesnt work, is this a problem with my compiler or anything or the qt packages (the include folder path: `C:\Qt\6.10.1\mingw_64\include`)?

when i write:

#include <QtWebView/QtWebView>

its a namespace and not a widget, then i try to type qwebengine and stuff and it doesnt work and it doesnt exist as a folder or file or anything

also heres my code (im trying to make a browser):

#include <QtWidgets/QApplication>
#include <QtWidgets/QWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QVBoxLayout>
#include <QtWebView/QtWebView>


int main(int argc, char *argv[]) {
    QApplication app(argc, argv);


    QMainWindow MainWindow;


    QWidget central_widget;
    MainWindow.setCentralWidget(&central_widget);


    QHBoxLayout main_layout;
    central_widget.setLayout(&main_layout);


    MainWindow.show();
    return app.exec();
};

https://redd.it/1prhn18
@qt_reddit

Читать полностью…

Qt - Reddit

Im trying to use webview on qt in c++ but it doesnt work for me

i did install the webview and webengine stuff from the official qt online installer tho in the c++ code it doesnt for some reason and even visual studio code doesnt auto correct or even recognize it and even my compiler doesnt recognize it (mingw x64 windows) and also is my settings file correct?

{
"tabnine.experimentalAutoImports": true,
"security.workspace.trust.untrustedFiles": "open",
"files.autoSave": "afterDelay",
"workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-auto",
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.donotShowInfoMsg": true,
"explorer.confirmDelete": false,
"workbench.productIconTheme": "a-file-icon-vscode-product-icon-theme",
"python.defaultInterpreterPath": "C:\\Python313\\python.exe",
"terminal.explorerKind": "both",
"editor.fontFamily": "JetBrains Mono",
"editor.cursorBlinking": "smooth",
"editor.cursorSmoothCaretAnimation": "on",
"makefile.configureOnOpen": true,
"glassit.alpha": 255,
"python.createEnvironment.trigger": "off",
"go.toolsManagement.autoUpdate": true,
"clangd.path": "c:\\Users\\aresg\\AppData\\Roaming\\Code\\User\\globalStorage\\llvm-vs-code-extensions.vscode-clangd\\install\\21.1.0\\clangd21.1.0\\bin\\clangd.exe",
"explorer.confirmDragAndDrop": false,
"c-cpp-compile-run.cpp-compiler": "g++",
"C
Cpp.debugShortcut": false,
"CCpp.playButton": false,
"C
Cpp.default.compilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe",
"CCppRunner.cppCompilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\g++.exe",
"CCppRunner.cCompilerPath": "C:\\ProgramData\\mingw64\\mingw64\\bin\\gcc.exe",
"CCpp.default.includePath": [
"${workspaceFolder}/**",
"C:\\Qt\\6.10.1\\mingw
64\\include",
"C:\\ProgramData\\mingw64\\mingw64\\include",
"C:\\Users\\aresg\\vcpkg\\installed\\x64-mingw-dynamic\\include"
],
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"zig": "zig run",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -std=c++20 -I \"C:/Qt/6.10.1/mingw64/include\" -I \"C:/Users/aresg/vcpkg/installed/x64-mingw-dynamic/include\" \"C:/Qt/6.10.1/mingw64/lib/libQt6WebEngineWidgets.a\" \"C:/Qt/6.10.1/mingw64/lib/libQt6WebEngineCore.a\" -L \"C:/Qt/6.10.1/mingw64/lib\" -L \"C:/Users/aresg/vcpkg/installed/x64-mingw-dynamic/lib\" -lQt6Widgets -lQt6Gui -lQt6Core -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -static-libgcc -static-libstdc++ && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runghc",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style

Читать полностью…

Qt - Reddit

How to avoid the lag when resizing the window in QML ?



https://redd.it/1pqwuiw
@qt_reddit

Читать полностью…

Qt - Reddit

Quake1 in Qt Quick3D with Jolt Physics

Hi! I’ve been working on a Quake1 remake using Qt Quick3D and Jolt Physics and wanted to share the result.

(https://glazunov999.github.io)

https://youtu.be/ZLrFIJMYKms



Source code - https://github.com/glazunov999/Kwayk

WebAssembly demo - https://glazunov999.github.io

https://redd.it/1pmhpbq
@qt_reddit

Читать полностью…

Qt - Reddit

Whats the best editor for QML?

I work with PySide and QML in Zed and im familiar with it but i dont know if i should switch to qt creator or if its really worth trying.

https://redd.it/1pjrl3u
@qt_reddit

Читать полностью…

Qt - Reddit

How to use CLion and kde-builder for KDE, Qt, Linux development tutorial
https://www.youtube.com/watch?v=x5acsierXtQ

https://redd.it/1pj70lx
@qt_reddit

Читать полностью…

Qt - Reddit

Older version of Qt Creator

I was making something using Qt 6.7.3 but then I upgraded to a newer PC but I cant for the life of me get the project to work with the newer version of Qt Creator.

Is there anyway to downgrade it to Qt Creator 13 so it works again?

https://redd.it/1phikuw
@qt_reddit

Читать полностью…

Qt - Reddit

Whats the best choice for desktop guis?

I want to make nice-looking and performant desktop applications. I’ve been using PyQt6 with Qt Widgets for the past 3 months, but many people suggest using QML/Qt Quick instead. What are the advantages and disadvantages of each approach for desktop apps, and when is QML actually better?

https://redd.it/1ph7jx5
@qt_reddit

Читать полностью…

Qt - Reddit

Is it possible to have the cursor animation when typing (like monkeytype) in a pyqt6 gui ?



https://redd.it/1pe3dje
@qt_reddit

Читать полностью…

Qt - Reddit

Looking for collaborators to help bring Linux support to CustomQt (native frameless/titlebar library for PySide6)

Hi everyone,

I’ve been working on an open-source project called **CustomQt**, a minimal PySide6 library that provides **native-feeling custom titlebars and frameless windows**.
Right now, **it only supports Windows**, but the goal is to make it **cross-platform**, especially with proper **Linux (Wayland/X11)** support.

📌 GitHub repo: [**https://github.com/ultrasploit/CustomQt**](https://github.com/ultrasploit/CustomQt)

# ⭐ What it currently does (Windows)

* Seamless **frameless window** support
* **Native drag + resize** with WM\_NCHITTEST
* **Rounded corners**, Windows 11 style
* Optional **Acrylic/Mica** background effects
* Correct maximize/restore behavior
* Resizable borders + custom hit testing

Basically: *custom UI but still behaves like a native OS window*.



# 🐧 Why I need help (Linux is… complicated)

I want to implement the same native behavior on Linux, but:

* Wayland → requires client-side decoration protocols
* X11 → needs EWMH/NETWM hints & WM-specific behavior
* KDE vs GNOME vs others behave differently
* Qt abstracts a lot, but not enough for custom window chrome

There’s no equivalent to Windows’ DWM APIs, so multiple approaches are needed.



# 🤝 Looking for collaborators with experience in:

* **Wayland protocols** (xdg-decoration, xdg-toplevel, ext-\*)
* **X11** (EWMH, `_MOTIF_WM_HINTS`, `_NET_WM_FRAME_EXTENTS`)
* Qt **QPA (Qt Platform Abstraction)**
* Window manager internals (KWin, Mutter, etc.)
* Cross-platform UI work

Even if you don’t want to write code, **PRs, research, protocol references, or suggestions** are super helpful.



# 🔧 The goal

Bring full Linux-native support:

* Frameless windows that still drag/resize normally
* Shadow + border hints for KDE/GNOME
* CSD window buttons
* Wayland + X11 compatibility
* Same API as the Windows implementation



# 🙏 If you're interested

You can:

* Open an issue
* DM me
* Leave a comment
* Or submit a PR

Any help is appreciated — even pointing out the right protocol docs.

Thanks!



If you want variations, I can also generate:

✅ A shorter version
✅ A more technical deep-dive version
✅ A more casual “help wanted” version
Just tell me!

https://redd.it/1pdp3hb
@qt_reddit

Читать полностью…

Qt - Reddit

Tasket++ — simple Windows tool to automate user actions, free and open source

https://redd.it/1pcylia
@qt_reddit

Читать полностью…

Qt - Reddit

qtedit4 - version 0.0.16 - new C++ IDE/editor

I am releasing version 0.0.16 of my IDE. At this stage, I think its a decent editor, and my next goals will be working on project management parts, code editing. This release adds lots of small fixes (look at the changelog!), and adds the ability to hide docked views with keyboard.

https://github.com/diegoiast/qtedit4/releases/tag/v0.0.16

https://preview.redd.it/v0slp7z6r94g1.png?width=1487&amp;format=png&amp;auto=webp&amp;s=cfb9be2a2fadc99b573415be100ac37808003bb1



https://redd.it/1pa15qj
@qt_reddit

Читать полностью…

Qt - Reddit

Qt Extension 1.10.0 for VS Code Released
https://www.qt.io/blog/qt-extension-1.10.0-for-vs-code-released

https://redd.it/1p77ofz
@qt_reddit

Читать полностью…
Subscribe to a channel