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

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

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

C++ & Qt

There's usually a black background since images don't take up the whole screen especially when zoomed out

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

C++ & Qt

I already have one that works a lot better than the current image viewer in the project I'm working on. Next thing to improve is to limit the panning to just the image boundaries instead of being to able to pan to black background 😄

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

C++ & Qt

My bad. It worker.get() at the moment of calling was already nullptr

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

C++ & Qt

There is a QMetaObject::invokeMethod

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

C++ & Qt

You’ve seen this (I suppose)?

https://learn.microsoft.com/en-us/dotnet/core/native-interop/expose-components-to-com

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

C++ & Qt

Any error message(s)?
A crash can happen in many situations. A common situation is to use an object out of its scope.

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

C++ & Qt

Can you be more specific?

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

C++ & Qt

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

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

C++ & Qt

It seems you should add this line to your cpp file:

extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

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

C++ & Qt

This seems related: https://github.com/ocornut/imgui/issues/8255

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

C++ & Qt

Perhaps you need to include same header? Or is there a spelling error?

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

C++ & Qt

Welcome to the group, @ShehabGuii! :-)

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 actually thought of that since I wasn't able to find one easily. It's already open source since I contribute it to an open source project but I'll probably make a separate one just for the viewer itself 😄

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

C++ & Qt

In any case, I found a code that was semi working but the core thing was good so I just used that and improved it 😄

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

C++ & Qt

property int zoom: 100
Image {
width: sourceSize.width * zoom / 100
height: sourceSize.height * zoom / 100
}

playing with zoom value you can change final image size

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

C++ & Qt

It’s not clear for me what do you mean about black background.
There is an image with some size: width and height. There is an Item/Rectangle that represents your app area for the viewer. Image could be smaller or bigger than viewer area depending on zoom

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

C++ & Qt

I have developed it with qml in not open source project. Can help with challenges

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

C++ & Qt

If I try to QMetaObject::invokeMethod(worker.get(), &MyClass::init, Qt::QueuedConnection);, actual init never happens, and result of invoke is false

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

C++ & Qt

I have a question. I have moved object to another thread(basically 1-to-1 as in qt's example). After the move has happened, I need to call init function for my object. But this function must be performed on second thread. Is there better way to do so, rather than create separate signal for that? Because signal for this case seems overkill

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

C++ & Qt

It’s the .net library registered?

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

C++ & Qt

In fact I can't invoke a PE.NET in memory with COM calls. I made a LoadTypeLib to retrieve the precise GUIDs from mscore.lib and at the end Invoke_3 return 0x0 and the process crash

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

C++ & Qt

Hello everyone, I am facing a technical problem on a C++ and .NET project. I am looking for someone who has advanced knowledge in CLR and calls native COM please. I would be grateful, thank you.

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

C++ & Qt

Yeah it worked thnks pal

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

C++ & Qt

Thanks will read and understand whats happeening here

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

C++ & Qt

I don't think so that whether it's a spelling error 😔

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

C++ & Qt

I am getting this error
Please someone help
VS suggests to add
"imgui_impl_win32.cpp"
Which i believe is an anti practice to add cpp files

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

C++ & Qt

heya :) if someone has an idea of a fix for this... https://bugreports.qt.io/browse/QTBUG-138093

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

C++ & Qt

Will you open source it?

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

C++ & Qt

I actually tried AI and it was useless. I don't use it much so maybe I'm not good with prompts yet 😅

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