aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/unix.py
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2023-07-03 12:06:29 +0200
committerAdrian Herrmann <adrian.herrmann@qt.io>2023-07-27 17:09:02 +0200
commit90b3bab77a6465220051f52e72fe24bba862b606 (patch)
tree1a1a70021ae998bde2f96bb3009c4a74bdb564bd /build_scripts/platforms/unix.py
parent0c4a5d24942eeeb4d2aa3a3401b01ddde480049b (diff)
Implement custom asyncio event loop based on Qt
asyncio is an established library for Python applications with concurrency and asynchronous I/O, and the de facto standard that multiple other async frameworks build upon. Like Qt, it is based on an event loop, so to this end, it offers an extensive API to implement custom event loops that applications using asyncio can then leverage. Task-number: PYSIDE-769 Change-Id: I3daf5d631e2fa0d44fd8c3c272ac5cce96f58653 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/platforms/unix.py')
-rw-r--r--build_scripts/platforms/unix.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
index 570c4d570..a8510f7ed 100644
--- a/build_scripts/platforms/unix.py
+++ b/build_scripts/platforms/unix.py
@@ -209,6 +209,13 @@ def prepare_packages_posix(pyside_build, _vars, cross_build=False):
"{st_build_dir}/{st_package_name}/support",
_vars=_vars)
+ # <source>/pyside6/{st_package_name}/QtAsyncio/* ->
+ # <setup>/{st_package_name}/QtAsyncio/*
+ copydir(
+ f"{{build_dir}}/{PYSIDE}/{{st_package_name}}/QtAsyncio",
+ "{st_build_dir}/{st_package_name}/QtAsyncio",
+ _vars=_vars)
+
# <source>/pyside6/{st_package_name}/*.pyi ->
# <setup>/{st_package_name}/*.pyi
copydir(