Insights
We ported Notepad++ to Qt6 with an AI employee fleet
A Win32/MFC editor, six hundred-plus source files, and a harness that refused to call the job done until the gates went green.

Notepad++ is a dense Windows desktop codebase: HWND dialogs, MFC shells, Scintilla and Lexilla, registry settings, plugin message buses. We asked Jaisiu agents to lift it into idiomatic Qt6 C++ on Linux — not as a demo prompt, but as a gated fleet job with compile, holography, and runtime checks in the loop.
- Source files in scope
- ~686
- Calendar span
- ~3 days
- Agent sessions
- ~17
- Tokens (cache hit)
- ~388M · 66%
- Clean-build ctest
- 23/23
Why this port matters
Most “AI rewrote my app” posts stop at a green compile or a screenshot. Enterprise migrations fail at the seams: ownership of dialogs, encoding edge cases, plugin surfaces, and the last ten percent that only shows up when a human clicks File → Open.
We treated Notepad++ → Qt6 as a reference workload for Jaisiu’s codebase-translate skill — the same pattern we use when a customer needs a semantic lift across UI frameworks, not a line-by-line transcription.
How the fleet was organized
A single chat session cannot own architecture, Win32 mapping, Scintilla integration, i18n, and CMake at once without thrashing. The orchestrator specialized agents and kept batches small enough that a failed compile pointed at a unit, not a week of work.
- Architecture — QObject hierarchies, module boundaries, CMake layout
- Win32 mapper — HWND / HDC / WM_* → QWidget / QPainter / event overrides
- Scintilla — editor widget, lexer loading, style APIs
- i18n — string extraction, .ts / .qm, locale loading
- Build — dependency wiring and a host compile gate after each batch
Gates, not vibes
Done meant more than “it builds.” The harness required holography (symbol and file parity), differential checks where a Windows golden binary was unavailable on Linux, and an offscreen runtime smoke so a headless agent could prove the binary still woke up.
On a clean master build after the semantic-lift waves, ctest reported 23/23. That number is not a marketing invention — it is what we presented in the July 2026 RST meet after scrubbing fabricated deck metrics.
What we leave on the table (on purpose)
A honest case study keeps the scars. Some source files were still missing from the lift tree. An Application singleton race was deferred. Live GUI QA was only partly closed in the same sprint — which is exactly why the next article exists.
If your migration needs a consulting-grade Win32 → Qt path, the playbook is the product: specialist agents, incremental shims, compile gates, and a definition of done that survives a skeptical engineer.