~/talk

Effective Qt (2017 edition)

Talkat CppCon 2017 · 2017-09-24..09-29· [c-and-cpp]
links:none on file
slides:none on file

Recommendation: prefer std::vector/map/etc for business logic because Qt containers are older, slower, lack allocators/emplace/node APIs and still require default‑constructible, copyable types; Qt containers use implicit sharing causes hidden detaches (copy‑on‑write) that can trigger unexpected deep copies or bugs; avoid QList and Q_FOREACH; use QVarLengthArray only for small preallocated buffers; adopt QStringView (Qt 5.10) for alloc‑free string parameters; and run clazy — it reports thousands of Qt pitfalls (about 9,000 warnings found in Qt itself).

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:50Qt containers vs Standard Library
  3. 8:56Why avoid Qt containers
  4. 13:10Type traits for Qt containers
  5. 21:48Implicit sharing in Qt
  6. 31:28Pitfalls of implicit sharing
  7. 35:20Range-based for loops in Qt
  8. 39:52Clazy tool for Qt code
  9. 41:35Qt string classes overview
  10. 48:24QStringView introduction
  11. 52:19Q&A session
~/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.