Designer: Use <QtModule/qheader.h> style in public headers
The quoted style was giving build warnings when building with the
-Wquoted-include-in-framework-header warning enabled, which for
example the Xcode modules-verifier tool does.
QtUiTools compiles the uilib sources into its own library, with only
the uilib source directory on the include path, and is built even when
Qt Widgets Designer is disabled, so it can't reach these headers via
QtDesigner. We keep the quoted style for that build, guarded by
QT_BUILD_UITOOLS_LIB.
That same include failure is why the syncqt header checks were turned
off for these files in cfa6ee89f38668bf8ac889a06977abeb1853bbe4. With
the includes guarded we can turn the checks back on, and only hide the
QtUiTools branch from the include check, so that syncqt doesn't ask us
to use the QtDesigner style there as well.
Task-number: QTBUG-107193
Pick-to: 6.12 6.11 6.8
Change-Id: Ic5c6d2336930df86cb01a34e9f38cd1fcb133438
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>