1220
Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions
Welcome to the group, @alexkarpovlife! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
I was introduced to the language at university, but I didn’t care much at the time. Later, for work purposes, I discovered something called data-oriented design, and I became extremely passionate about performance, falling in love with the language for how it can be used both safely (with modern standards) and extremely fast
Читать полностью…
Welcome to the group, @TpuntoMeSlashUsername! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
I play all files from local storage or sdcard. Normal mp4 files are ok (e.g. Big Buck Bunny). But some files are unstable.
The issue is the difference between gst-launch and qt application. gst-launch is able to play the same video without issues. This video has low bitrate and I don't apply any graphics in the qt app.
convert video to standart mp4 with premiere Pro. if issue is still present then there's nothing you should do. try other decoder lib. the bottleneck is format->decoding it->draw it (even as openGL texture on triangle — does not matter). thing that slows you is "decoding it"\
Читать полностью…
I'm looking for 2-3 people for a new project❗️
Transparent remote work✔️
Write to me at @HealyB7
Looking for several responsible people to collaborate with on Bybit! (21+)
Everything is transparent. Daily payments.
Completely remote!
Write to @HealyB7
Welcome to the group, @Santhosh252! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
For the record, setting height in the <img> HTML tag doesn't accomplish anything.
Читать полностью…
So solution (a) is the one I'm trying right now with specifying width and height, but I would rather (b) have the widget determine its height. Any insights how to achieve that?
Читать полностью…
Happy Holidays everyone! - Question regarding rendering HTML in a QTextBrowser, and determining the required height of the widget.
I render some HTML in a QTextBrowser that inlines some external images (<img src="..."/>). That works fine. My general goal is for the widget to resize itself to its required size, so I set setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents). However, this does not work - the widget shows a vertical scroll bar.
Welcome to the group, @Ilya_6483! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
🚀 Interested in a new way to collaborate online?
Forget offices and fixed hours — enjoy a flexible digital setup you can run from anywhere.
📱 Phone-only setup
💰 Potential for consistent income
⏰ Just 1–2 hours per day
🔐 Focus on one project only
💬 Curious?
Send a private message to @HealyB7 with a "+" and she will provide all the details.
Hi I sincerely don't know anything about qt. But I'm really passionate about C++. I currently work as a computational geometry developer for a company that does CAD/mesh manipulation for aerodynamic purposes
Читать полностью…
https://github.com/operasoftware/gstreamer/blob/master/gstreamer/tools/gst-launch.c
Don't use it, use qt!*
Qt has a lot to offer, sure there's already open source qt player
btw, qt streamer should be fast
check network/ssd if have to, preload to precache frames at desired quality (as a lot of js video decoders do, many are open-source)
Hi! I have qt app with gstreamer video player (playbin3, qml6glsink). It runs on linux yocto. gst-launch-1.0 plays video just fine. Qt app has unstable FPS in some videos. I compared pipelines in PDF and they look similar. It happens on the videos with low bitrate.
I'm looking for the guide on how to use qt + gstreamer properly, how to profile performance.
In github, there have a repo Which provide perfect qt Development docker image for different platforms
Читать полностью…
Welcome to the group, @annafischerr! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Welcome to the group, @annyctowl! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
Welcome to the group, @Zenooone! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
@shimarongreywolf What if you turn the scroll bars off and set setFixedSize to document ().size().toSize() on documentSizeChanged?
Читать полностью…
No, this does not work. Thanks anyway. I'll post a solution if I find one.
Читать полностью…
Happy holidays!
ChatGPT proposes this (but I haven’t verified):
QTextBrowser *browser = new QTextBrowser(this);
browser->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
browser->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
browser->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
// Important: constrain text width so height can be computed
browser->document()->setTextWidth(browser->viewport()->width());
// React when images change the document size
connect(browser->document()->documentLayout(),
&QAbstractTextDocumentLayout::documentSizeChanged,
browser,
[browser](const QSizeF &) {
browser->updateGeometry(); // notify layout system
});
My guess is that this is due to the image being inlined and no width/height being specified.
Читать полностью…
Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)