~/talk

Effective Qt

Talkat Meeting C++ 2015 · 2015-12-04..12-05· [rust]
name:Marc Mutz
links:none on file
slides:none on file

Q_FOREACH unconditionally copies its container and therefore causes deep copies for non-Qt STL containers; never use Q_FOREACH with std::vector. Qt containers can use realloc for types declared trivially relocatable via Q_DECLARE_TYPEINFO/Q_MOVABLE_TYPE, yielding fewer allocations and faster moves. QString handling matters: prefer QStringBuilder for concatenation and use QStringLiteral when the toolchain supports compile‑time UTF‑16 to avoid runtime decoding; otherwise use tr() or fromLatin1 appropriately.

AI-written summary · about

  1. 0:00Start
  2. 19:00The Compiler Cannot Tell!
  3. 23:30Class Author
  4. 36:45Four Strings to a Bow
  5. 52:08f QString Literal Hello World
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.