From 693344114addd891013f09cc0f59ac2e13bfb201 Mon Sep 17 00:00:00 2001 From: Chris Galvan Date: Tue, 9 Nov 2021 14:01:09 -0600 Subject: [PATCH] Fixed the Python Shape Example to have QtForPython gem as a dependency. Signed-off-by: Chris Galvan --- py_gems/PyShapeExample/Code/CMakeLists.txt | 2 ++ py_gems/PyShapeExample/gem.json | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/py_gems/PyShapeExample/Code/CMakeLists.txt b/py_gems/PyShapeExample/Code/CMakeLists.txt index 53bab2a..3413f45 100644 --- a/py_gems/PyShapeExample/Code/CMakeLists.txt +++ b/py_gems/PyShapeExample/Code/CMakeLists.txt @@ -46,6 +46,8 @@ if(PAL_TRAIT_BUILD_HOST_TOOLS) BUILD_DEPENDENCIES PUBLIC Gem::PyShapeExample.Editor.Static + RUNTIME_DEPENDENCIES + Gem::QtForPython.Editor ) # By default, we will specify that the above target PyShapeExample would be used by diff --git a/py_gems/PyShapeExample/gem.json b/py_gems/PyShapeExample/gem.json index 7871e5d..6e47741 100644 --- a/py_gems/PyShapeExample/gem.json +++ b/py_gems/PyShapeExample/gem.json @@ -4,7 +4,7 @@ "license": "What license PyShapeExample uses goes here: i.e. https://opensource.org/licenses/MIT", "origin": "The primary repo for PyShapeExample goes here: i.e. http://www.mydomain.com", "type": "Code", - "summary": "A short description of PyShapeExample.", + "summary": "Day 1 example of a custom tool in Python that can create shapes in the Editor.", "canonical_tags": [ "Gem" ], @@ -13,5 +13,8 @@ ], "icon_path": "preview.png", "requirements": "", - "restricted_name": "PyShapeExample" + "restricted_name": "PyShapeExample", + "dependencies": [ + "QtForPython" + ] }