Fix GCC Build Errors

- Fix gcc error caused by implicit conversion of Qt::ByteArray to const char*
- Fix Linker errors to QtTest in AtomToolsFramework.Tests and ScriptCanvasDeveloper.Editor

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
This commit is contained in:
Steve Pham
2022-01-25 14:44:24 -08:00
committed by GitHub
parent dbf9e3f0e5
commit 99764df120
3 changed files with 3 additions and 1 deletions
@@ -447,7 +447,7 @@ namespace AzToolsFramework
else
{
loadedSuccessfully = static_cast<PrefabEditorEntityOwnershipService*>(m_entityOwnershipService.get())->LoadFromStream(
stream, AZStd::string_view(levelPakFile.toUtf8(), levelPakFile.size()) );
stream, AZStd::string_view(levelPakFile.toUtf8().constData(), levelPakFile.size()) );
}
@@ -81,6 +81,7 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
Tests
BUILD_DEPENDENCIES
PRIVATE
3rdParty::Qt::Test
AZ::AzTest
AZ::AzTestShared
AZ::AzFrameworkTestShared
@@ -74,6 +74,7 @@ if(PAL_TRAIT_BUILD_HOST_TOOLS)
${SCRIPT_CANVAS_DEV_COMMON_DEFINES}
BUILD_DEPENDENCIES
PRIVATE
3rdParty::Qt::Test
AZ::AzCore
AZ::AzFramework
AZ::AzToolsFramework