Qt - Reddit
14 subscribers
279 photos
45 videos
4.21K links
News and discussion for the Qt Framework.

Subreddit: https://www.reddit.com/r/QtFramework

Powered by : @r_channels & @reddit2telegram
Download Telegram
Qt 6.10 WebEngineWidgets not found by CMake even though config file exists (MSVC2022 64bit)

https://preview.redd.it/bm8f2ggktspg1.png?width=1919&format=png&auto=webp&s=ecf8286ec2e3b25bc1c085080ec53d0461796fd0



https://preview.redd.it/gcjo73nutspg1.png?width=1919&format=png&auto=webp&s=991e2eb3c1043fab9da5def4c87a2317681399bc



Hi everyone,



I'm having an issue with Qt 6.10.2 on Windows 11 using Visual Studio 2022.



I installed QtWebEngine through the Maintenance Tool (under Extensions →

Qt WebEngine → Qt 6.10.2 → MSVC 2022 x64). The installation completed

successfully and the config file clearly exists at:



C:/Qt/6.10.2/msvc2022_64/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake



But CMake still fails with:



"Failed to find required Qt component WebEngineWidgets.

Expected Config file at [...\] exists"



I tried:

\- Deleting the build folder and re-running CMake

\- Setting CMAKE_PREFIX_PATH to C:/Qt/6.10.2/msvc2022_64

\- Setting QT_ADDITIONAL_PACKAGES_PREFIX_PATH

\- Re-detect in Qt Versions

\- Reinstalling the WebEngine module



Nothing works. The file EXISTS but Qt6_FOUND is set to FALSE anyway.



Is this a known bug with the new Extensions system in Qt 6.8+?

Has anyone found a working solution?



Qt version: 6.10.2

OS: Windows 11

Compiler: MSVC 2022 (amd64)

IDE: Qt Creator 17



https://redd.it/1rx2t31
@qt_reddit
LLMCore 0.1.0 — A Qt/C++ library for integrating LLM into desktop applications

I was developing QodeAssist (an AI-powered programming assistant for Qt Creator), and along the way, I realized something: integrating LLM into C++/Qt applications is much more difficult than it should be. And this obstacle matters—the easier it is to integrate LLM, the more Qt developers will experiment with it. And some of these experiments can truly change the way users interact with applications. Not just desktop applications, but any Qt applications!

Therefore, I separated the LLM layer from QodeAssist into a separate library: LLMCore.

**What it does:**

* Streaming API (Anthropic, OpenAI Compatible (Chat and Responses API), Google AI, Ollama, llama.cpp)
* Tool calling with async execution — define a tool once, it works with every provider
* Thinking/reasoning (Claude, Gemini, etc.)
* Callbacks or signals/slots — your pick
* Full payload control when you need provider-specific tweaks

link: [https://github.com/Palm1r/llmcore](https://github.com/Palm1r/llmcore)

https://redd.it/1ruvyxz
@qt_reddit
I made my first Quickshell/QML program today
https://redd.it/1ruzyzv
@qt_reddit
iPhotron v4.3.1 released: Linux alpha, native RAW support, improved cropping

# What My Project Does

iPhotron helps users organize and browse local photo libraries while keeping files in normal folders. It supports features like GPU-accelerated browsing, HEIC/MOV Live Photos, map view, and non-destructive management.

What’s new in v4.3.1:

Linux version enters alpha testing
Native RAW image support
Crop tool now supports aspect ratio constraints
Fullscreen fixes and other bug fixes

GitHub: OliverZhaohaibin/iPhotron-LocalPhotoAlbumManager: A macOS Photos–style photo manager for Windows — folder-native, non-destructive, with HEIC/MOV Live Photo, map view, and GPU-accelerated browsing.

# Target Audience

This project is for photographers and users who want a desktop-first, local photo workflow instead of a cloud-based one. It is meant as a real usable application, not just a toy project, although the Linux version is still in alpha and needs testing.

# Comparison

Compared with other photo managers, iPhotron focuses on combining a Mac Photos-like browsing experience with folder-native file management and a non-destructive workflow. Many alternatives are either more professional/complex, or they depend on closed library structures. iPhotron aims to be a simpler local-first option while still supporting modern formats like RAW, HEIC, and Live Photos.

I’d especially love feedback from Linux users and photographers working with RAW workflows. If you try it, I’d really appreciate hearing what works, what doesn’t, and what you’d like to see next.

https://redd.it/1ruixxk
@qt_reddit
This media is not supported in your browser
VIEW IN TELEGRAM
Working on different animations for buttons in my Qt application. If You guys know some cool ideas for animations I would appreciate if You share them

https://redd.it/1rtprh4
@qt_reddit
QT/QML/C++/ESP32I've made a Remote 3D Control System for a Robotic Arm

3D Command Tester

ᵈᵒⁿ'ᵗ ʲᵘᵈᵍᵉ ᵐᵉ ᶠᵒʳ ᵗʰᵉ ᵈᵉˢⁱᵍⁿ ᵒᶠ ᵐʸ ᵃʳᵐ, ⁱ ᵐᵃᵈᵉ ⁱᵗ ⁱⁿ ⁵ ᵐⁱⁿᵘᵗᵉˢ ⁱⁿ ᵇˡᵉⁿᵈᵉʳ.
This is my first post here (and first project) <3, I made this to learn a lot of topics, principally to learn how is the process of connect 3D, Hardware and Software. (in this case via WiFi).
Workflow: You send commands from the client like "SET M 45" and the ESP32 server should make something with it, in this case: move a servo located in the MID part of the bone hierarchy 45 degrees. The 3D UI is just for testing commands BUT can work as a Digital Twin if u have the components.

\- Project Link

Stack:
3D Command Tester:
\- Cmake
\- Qt Quick 3D
\- Cpp
Client-PC:
\- Meson (I hate Cmake)
\- Conan
\- Boost.Asio - SPDLog
\- CPP
Server-ESP32:
\- ESP32 using WiFi.h

Feel free to ask anything :D

Also I'm a 3D Artist <3: 3D Art from this guy

https://redd.it/1s584db
@qt_reddit
Best place to learn Qt ?

I’ve been coding for about a year now, primarily focused on C++ and solving 220+ DSA problems. Recently, I decided to transition from competitive programming to application development using Qt, as C++ is my strongest language. However, I’m finding it a bit challenging to get comfortable with frameworks. I realized that learning theory without implementation isn't very effective, so I want to dive deeper into how Qt's libraries and properties actually work under the hood.

What are the best resources to master the core architecture of Qt? Also, am I on the right track by focusing on the core logic while exploring side interests like reverse engineering, cybersecurity (Nmap, Wireshark), and databases? I’d love to hear your thoughts

https://redd.it/1s4j83q
@qt_reddit
Is Qt/C++ a Good Choice for this?

I've recently retired after 40+ years as an electrical engineer and want to work on some home automation stuff around the house. Up until now I've had commercial home automation gadgets, but several of them have been sunsetted by their vendors and no longer work. I want to develop my own hardware to replace it so I have control over it without worrying about vendors stopping support.

For controlling and monitoring the hardware, I was planning to write apps using C#/WPF on Windows, but I've gotten tired of the spyware called Windows 11 and have been replacing it with Linux on all of my PCs. In getting away from MS products, I've been looking for something other than C#/WPF, and ran across Qt. Would this be a good choice to write native Linux GUI apps that interface to home automation hardware using serial, CAN, and WiFi? I'm not talking about anything really sophisticated, just something like a simple app to turn lights on and off and to set schedules, and simple database access to save and retrieve weather data from my weather station.

I have experience with C++, but that was 20 years ago.

https://redd.it/1s1qm83
@qt_reddit
Please I really need help from any of you to use Web engine widget to create my program.

I'm using qt 6.10.2. I know realize 6.11 version recently and I don't have a problem using that new version. Cmake says it can't find the widget. I use windows 11. Send me messages to help me

https://redd.it/1s24z72
@qt_reddit
Qt Creator Examples Disconnect

I installed the Qt Creator app on my Fedora system using dnf, but it didn't include the examples. I installed the examples separately, but Qt Creator doesn't show them on the Examples tab of the Welcome page.

Is there any way to point Qt Creator at the directory the examples are located in so it will display the examples in the Examples tab?

https://redd.it/1s1s0py
@qt_reddit
QWebEngineView and openstreetmap

Hi everyone, do you have any experience integrating openstreetmap into a qt widgets application using leaflet js?

What are your results? Is it good performance-wise?

https://redd.it/1s1r0hg
@qt_reddit
Why does the last item get white text and how can I fix it?

https://preview.redd.it/pspe9jhxc1sg1.png?width=243&format=png&auto=webp&s=9d6ada40fdde95e1d09555e91a121e5871afd996

import QtQuick

import QtQuick.Controls



Window {

width: 640

height: 480

visible: true

title: qsTr("Hello World")

Column{

anchors.fill: parent

spacing: 5

padding: 5

Button {

width: 100

height: 40

text: "Click"

}

Button {

width: 100

height: 40

text: "Click"

}

Button {

width: 100

height: 40

text: "Click"

}

Button {

width: 100

height: 40

text: "Click"

}

}

}

https://redd.it/1s74mci
@qt_reddit
QModel Classes & Trees & DAGs
https://redd.it/1s78qm6
@qt_reddit
Media is too big
VIEW IN TELEGRAM
Building a unified UI/UX across multiple Qt tools (PySide6)

https://redd.it/1s7vw0u
@qt_reddit
Trying to resize using handles but the movement gets Parabolic

I'm making a code to transform a graphic item using visual handles. I want that each handle resizes anchoring in the opposite corner. To to that, I need to correct the position(t.translate(aX, aY);).

But this correction moves the object like a parabola: even if I move it uniformly, it goes faster that it should, then it slows and then it begins to go reverse and faster. The point in the delta numbers where it almost doesnt moves has, aparently, no correlation with the last mouse position (the place where the drag begins).

Does anyone have a clue why does this happens? This is my code:

void ibo::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
{
if (currentHandle == None)
{
QGraphicsPixmapItem::mouseMoveEvent(event);
return;
}
QPointF delta = event->scenePos() - lastMousePos;

double newWidth;
double newHeight;
double aX;
double aY;

if (currentHandle == BottomRight)
{
newWidth = oWidth + delta.x();
newHeight = oHeight + delta.y();
aX = 0;
aY = 0;
}
else if (currentHandle == TopLeft)
{
newWidth = oWidth - delta.x();
newHeight = oHeight - delta.y();
aX = delta.x();
aY = delta.y();
}
else if (currentHandle == TopRight)
{
newWidth = oWidth + delta.x();
newHeight = oHeight - delta.y();
aX = 0;
aY = delta.y();
}
else if (currentHandle == BottomLeft)
{
newWidth = oWidth - delta.x();
newHeight = oHeight + delta.y();
aX = delta.x();
aY = 0;
}

newWidth = std::max(newWidth, 10.0);
newHeight = std::max(newHeight, 10.0);

prepareGeometryChange();

QTransform t = t0;
t.scale(newWidth / oWidth, newHeight / oHeight);
t.translate(aX, aY);
setTransform(t);

qDebug() << delta.x() << newWidth;
}

https://redd.it/1s7zbhe
@qt_reddit
CodePointer version 0.1.3 - new C++ IDE/editor

April version brings improvements to the git commit dialog (better editor experience, amend, push), fix the terminal font bugs (which means I should start redirecting output through this control next versions). Code format has been updated (you can reformat an editor without saving, and can also define custom formatters). F4 (find matching header/implementation) should be more reliable.

[https://gitlab.com/codepointer/codepointer/-/releases/v0.1.3](https://gitlab.com/codepointer/codepointer/-/releases/v0.1.3)
https://github.com/codepointerapp/codepointer/releases/tag/v0.1.3

https://redd.it/1s9dwxs
@qt_reddit
AppImage for Enterprise Applications - Yay or Nah?

I work in a enterprise VPN company. We are planning to launch on Linux.

We have 5 services (non-QT) and we have already created an headless application with .deb and .rpm packages. Now we are developing our UI and I want the community's experience and opinions for right deployment method.

I've experimented with linuxdeploy tool for creating AppImage. It was good and super-portable; but debugability is my concern.

I learnt that linuxdeploy can also be used to gather the dependencies (libs and QML files). And we can package into any desired format afterwards.



My question is:

1. Is AppImage the right choice for enterprise app deployment?
2. What are the cons of AppImage and can we use gdb with AppImage deployments?
3. Please share your experience and opinions on AppImage
4. How do you deploy your apps and what is your preferred format? What made you prefer that?


My options are looking like:

\- With AppImage

/opt/MyVpn/
|-----/bin/
| |---- service1
| |---- service{2...5}
| |---- UI.AppImage
|-----/assets/
|-----/license/

\- Without AppImage (something similar of that sort)

/opt/MyVpn/
|-----/bin/
| |---- service1
| |---- service{2...5}
| |---- UI
|-----/libs/
| |---- libQt...
| |---- QML/...
|-----/assets/
|-----/license/


Thanks for sharing your experience!

https://redd.it/1s9bs45
@qt_reddit
Hi, have problem, who can help me??????
https://redd.it/1se17u1
@qt_reddit