mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-02 17:44:46 -05:00
Build with -DQT_NO_CAST_TO_ASCII.
This commit is contained in:
parent
0bcce7ce7f
commit
82f1cbb3c9
@ -50,7 +50,7 @@ macro(add_gcc_compiler_flags FLAGS)
|
|||||||
add_gcc_compiler_cflags("${FLAGS}")
|
add_gcc_compiler_cflags("${FLAGS}")
|
||||||
endmacro(add_gcc_compiler_flags)
|
endmacro(add_gcc_compiler_flags)
|
||||||
|
|
||||||
add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -DQT_NO_STL -DQT_STRICT_ITERATORS)
|
add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -DQT_NO_STL -DQT_STRICT_ITERATORS -DQT_NO_CAST_TO_ASCII)
|
||||||
|
|
||||||
add_gcc_compiler_flags("-ansi -fno-common -fstack-protector -D_FORTIFY_SOURCE=2")
|
add_gcc_compiler_flags("-ansi -fno-common -fstack-protector -D_FORTIFY_SOURCE=2")
|
||||||
add_gcc_compiler_flags("-Wall -Wextra -Wundef -Wpointer-arith -Wno-long-long")
|
add_gcc_compiler_flags("-Wall -Wextra -Wundef -Wpointer-arith -Wno-long-long")
|
||||||
|
@ -32,7 +32,7 @@ namespace QTest {
|
|||||||
char *toString(const Uuid &uuid)
|
char *toString(const Uuid &uuid)
|
||||||
{
|
{
|
||||||
QByteArray ba = "Uuid(";
|
QByteArray ba = "Uuid(";
|
||||||
ba += uuid.toBase64();
|
ba += uuid.toBase64().toAscii().constData();
|
||||||
ba += ")";
|
ba += ")";
|
||||||
return qstrdup(ba.data());
|
return qstrdup(ba.data());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user