aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-13 09:45:29 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-13 10:03:26 +0100
commitd09302d50bf64afdf7eae0075134bb554c9d1166 (patch)
treeacc94ef9c581c4828bc99b2efffaa7c83ca082ba
parent5b5cb391ccc318128946c64154a3284ae434bf8a (diff)
Fix pyside6-project not finding the Qt meta types
Adapt the package directory to the subdirectory created by the tool split 10715102f01bfee9c0122f21680f05414a947357. Pick-to: 6.4 Change-Id: I5065d1bcccf9b32cc414903e7cf405cc6f4956c9 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r--sources/pyside-tools/project/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside-tools/project/utils.py b/sources/pyside-tools/project/utils.py
index 723b6211d..e535c675f 100644
--- a/sources/pyside-tools/project/utils.py
+++ b/sources/pyside-tools/project/utils.py
@@ -53,7 +53,7 @@ def remove_path(path: Path):
def package_dir() -> Path:
"""Return the PySide6 root."""
- return Path(__file__).resolve().parents[1]
+ return Path(__file__).resolve().parents[2]
_qtpaths_info: Dict[str, str] = {}