cplusplusqt | Unsorted

Telegram-канал cplusplusqt - C++ & Qt

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

Subscribe to a channel

C++ & Qt

should not work with pixels/redo everything, should work with packed cadr-S (img at timeline). there're already open-source solutions

example — any popular web-video platform

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

C++ & Qt

Куплю USDT TRC20. Без посредников.

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

C++ & Qt

I would contend that theoretic is what you need — to understand the time complexity and space complexity of different algorithms (Big-O in particular).

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

C++ & Qt

About algorithms, which is really vital, STL gives you a bunch of good ones, but you can enhance your skills by dealing with related exercises or problems.

Benchmark each and do not expect better results just by knowing them.

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

C++ & Qt

CLRS, is mostly theoretic.
I would suggest learning them each by real projects.

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

C++ & Qt

It’s also very useful when you want to refactor or tweak the code

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

C++ & Qt

This is how I use AI in my job (when I can). I will also use it to generate boilerplate application code.

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

C++ & Qt

Get a copy of the CLRS (Thomas Cormet, Charles Liserson, Ronald Rivest, and Clifford Stein) book "Introduction to Algorithms" — it is a really good book for learning algorithms and data structures.

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

C++ & Qt

@Ilya_6483 [8547462020] warned (1 of 2).
Due to: already deleted message once

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

C++ & Qt

Welcome to the group, @ViktoryaAbrahamyan! :-)

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. :)

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

C++ & Qt

I really like the idea of qualified feedback but letting me actually do it. I want to learn, no vibe code.

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

C++ & Qt

A couple of things I thought were interesting: It guessed the topic of my entire project correctly by just looking at this one (non-central) class. Spooky!

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

C++ & Qt

First time for me getting something useful out of AI.

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

C++ & Qt

zoomFactor doesn't seem to change when you use Ctrl + mouse scroll to zoom. Anyone knows how to properly sync them?

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

C++ & Qt

day one learning c++ i have no idea on how to start

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

C++ & Qt

hello guys! long time no see!

so i am developing a bit of realtime video streaming client. the rtp and encoding are already handled by the uvgrtp and libav

i have other implementation that is based entirely on gstreamer pipeline (gst.h), that is a lot of a heck easier


i want to show the raw frame buffer (packed rgb or planar yuv 4:2:0) to the user efficiently. i have implemented the qpixmap label thing but it involves a lot of data duplication and in general does not seem professional to me. i am planning to use the opengl widgets integration so my question is: is there some ready-to-use reatime-video-display widgets to put pixels on the screen efficiently from memory?

i tried to investigate the docs qvideowidget thing but i was not able to understand how to pass my own raw data pointer to qvideoframe.

maybe someone have done something simmiral in qt already and could provide some directions?

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

C++ & Qt

But yes - when you're learning these, writing test programs that use the STL algorithms available - benchmarking them to see how they work does help a lot to understand.

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

C++ & Qt

Yes — I was doing a Qt 6 porting effort for Renderdoc a few weeks ago - and RenderDoc has its own string class (rdcstr) with cast operators between it and QString.

In Qt 6, QString went from being internally stored as UTF-8 to being stored as UTF-16, which made conversions more expensive, so I didn't want to make the conversions between QString and rdcstr implicit (plus, the compiler kept giving me ambiguous overload selection errors).

So — to make all of the conversions explicit, I needed to modify a *LOT* of code, and not something I could craft a regex to do. GenAI was a real big help here.

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

C++ & Qt

std::vector is your default choice except you have a good reason not to

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

C++ & Qt

Ronald Rivest is also the very same "R" in RSA, btw.

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

C++ & Qt

Nah, I suppose it isn’t that much worse than most textbooks but it’s a lot more fun when you can use it immediately (and experience what it is all about)

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

C++ & Qt

I didn't find the "Introduction to Algorithms" book to be dry — though you do need to consume it in small chunks to really understand it.

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

C++ & Qt

Куплю USDT TRC20. Без посредников.

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

C++ & Qt

Use only English here, please.

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

C++ & Qt

I’m like that too. It’s easy to lose control of the project if the ai does too much on its own. I like to discuss with it and perhaps make write specific functions and boilerplate code.

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

C++ & Qt

Plus: Suggestion: "Put X and Y into its own thread!" - yeah, sounds like a really good idea. "I can do that for you!" - Naah, where's the fun in that!

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

C++ & Qt

I think it has improved quite a lot only the last six months or so

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

C++ & Qt

I dumped a class of one of my projects into ChatGPT today and asked for useful feedback - and actually got it.

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

C++ & Qt

1) https://www.youtube.com/watch?v=-TkoO8Z07hI
2) https://www.youtube.com/watch?v=8jLOx1hD3_o

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

C++ & Qt

Welcome to the group, @lusthazar! :-)

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. :)

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