Qt 6.11 is out! See what's new in the release
blog
slot is called increasingly in a local function
-
hi,guys:
here is my code,why the lambda will be called increasingly for a local variable qeventloop? even i use UniqueConnection or not:

-
Unique connections do not work for lambdas because we can't compare them for equality.
-
@J-Hilk
thanks for reply.
but local variable will be destructed, and last lambda will disconnect automatically. right? -