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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user