aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-23 08:45:46 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-07-06 15:48:54 +0200
commit57500ee1a277dd36fc650baa1af989a648dec9a7 (patch)
treec5f28a47d433b0924a44bc6464cef0cb56af266b /sources/pyside6/PySide6
parenta2bbcb707c01342403458fd6bcaac99e99411185 (diff)
PySide6: Add QtWebEngineQuick
Task-number: PYSIDE-1570 Change-Id: Ic10a8f29439d5171487dfa5954c3b37be116a2b3 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/PySide6')
-rw-r--r--sources/pyside6/PySide6/QtWebEngineQuick/CMakeLists.txt29
-rw-r--r--sources/pyside6/PySide6/QtWebEngineQuick/typesystem_webenginequick.xml47
2 files changed, 76 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtWebEngineQuick/CMakeLists.txt b/sources/pyside6/PySide6/QtWebEngineQuick/CMakeLists.txt
new file mode 100644
index 000000000..80ccd86c4
--- /dev/null
+++ b/sources/pyside6/PySide6/QtWebEngineQuick/CMakeLists.txt
@@ -0,0 +1,29 @@
+project(QtWebEngineQuick)
+
+set(QtWebEngineQuick_SRC
+${QtWebEngineQuick_GEN_DIR}/qtwebenginequick_wrapper.cpp
+# module is always needed
+${QtWebEngineQuick_GEN_DIR}/qtwebenginequick_module_wrapper.cpp
+)
+
+set(QtWebEngineQuick_include_dirs
+ ${QtWebEngineQuick_SOURCE_DIR}
+ ${QtWebEngineQuick_BINARY_DIR}
+ ${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS}
+ ${libpyside_SOURCE_DIR}
+ ${QtCore_GEN_DIR}
+ )
+
+set(QtWebEngineQuick_libraries pyside6
+ ${Qt${QT_MAJOR_VERSION}Core_LIBRARIES}
+ ${Qt${QT_MAJOR_VERSION}WebEngineQuick_LIBRARIES}
+ )
+
+set(QtWebEngineQuick_deps QtCore)
+
+create_pyside_module(NAME QtWebEngineQuick
+ INCLUDE_DIRS QtWebEngineQuick_include_dirs
+ LIBRARIES QtWebEngineQuick_libraries
+ DEPS QtWebEngineQuick_deps
+ TYPESYSTEM_PATH QtWebEngineQuick_SOURCE_DIR
+ SOURCES QtWebEngineQuick_SRC)
diff --git a/sources/pyside6/PySide6/QtWebEngineQuick/typesystem_webenginequick.xml b/sources/pyside6/PySide6/QtWebEngineQuick/typesystem_webenginequick.xml
new file mode 100644
index 000000000..e65db1719
--- /dev/null
+++ b/sources/pyside6/PySide6/QtWebEngineQuick/typesystem_webenginequick.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/****************************************************************************
+**
+** Copyright (C) 2021 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt for Python.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or (at your option) the GNU General
+** Public license version 3 or any later version approved by the KDE Free
+** Qt Foundation. The licenses are as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-2.0.html and
+** https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+-->
+<typesystem package="PySide6.QtWebEngineQuick">
+ <load-typesystem name="QtCore/typesystem_core.xml" generate="no"/>
+
+ <namespace-type name="QtWebEngineQuick"/> <!-- initialize() -->
+
+</typesystem>