Exclude unused functions from WASM build

Fix “unused function” warnings.

Change-Id: I1d8d1de3c181385769bffc094d6c9e3319e1dc98
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Morten Sørvig 2021-04-22 11:03:48 +02:00
parent 9f3962443f
commit fa11071abf

View File

@ -177,6 +177,7 @@ static bool debuggerPresent()
#endif
}
#if !defined(Q_OS_WASM)
static bool hasSystemCrashReporter()
{
#if defined(Q_OS_MACOS)
@ -243,6 +244,7 @@ static void stackTrace()
fprintf(stderr, "=== End of stack trace ===\n");
#endif
}
#endif // !Q_OS_WASM
static bool installCoverageTool(const char * appname, const char * testname)
{