This improves performance with some compilers, especially MSVC.
NOTE: Some include guards are left in because a few files check for them:
- secoptions_win8.h: Checks for __RVTHTOOL_LIBWIICRYPTO_WIN32_SECOPTIONS_H__.
TODO:
- Toolbar icons aren't showing up.
- BankEntryView: Qt::DefaultLocaleShortDate was removed in Qt6,
so using QLocale instead. Cache the QLocale?
- viewOptions() is final in most widgets, so it's disabled in Qt6 builds.
See if we can reimplement this better.
- Qt6's moc doesn't like incomplete structs.