diff options
Diffstat (limited to 'sources/pyside2/PySide2/QtSvg')
-rw-r--r-- | sources/pyside2/PySide2/QtSvg/CMakeLists.txt | 36 | ||||
-rw-r--r-- | sources/pyside2/PySide2/QtSvg/typesystem_svg.xml | 74 |
2 files changed, 0 insertions, 110 deletions
diff --git a/sources/pyside2/PySide2/QtSvg/CMakeLists.txt b/sources/pyside2/PySide2/QtSvg/CMakeLists.txt deleted file mode 100644 index 19768274d..000000000 --- a/sources/pyside2/PySide2/QtSvg/CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -project(QtSvg) - -set(QtSvg_SRC -${QtSvg_GEN_DIR}/qgraphicssvgitem_wrapper.cpp -${QtSvg_GEN_DIR}/qsvggenerator_wrapper.cpp -${QtSvg_GEN_DIR}/qsvgrenderer_wrapper.cpp -${QtSvg_GEN_DIR}/qsvgwidget_wrapper.cpp -# module is always needed -${QtSvg_GEN_DIR}/qtsvg_module_wrapper.cpp -) - -set(QtSvg_include_dirs ${QtSvg_SOURCE_DIR} - ${QtSvg_BINARY_DIR} - ${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS} - ${Qt${QT_MAJOR_VERSION}Gui_INCLUDE_DIRS} - ${Qt${QT_MAJOR_VERSION}Widgets_INCLUDE_DIRS} - ${Qt${QT_MAJOR_VERSION}Svg_INCLUDE_DIRS} - ${libpyside_SOURCE_DIR} - ${QtCore_GEN_DIR} - ${QtGui_GEN_DIR} - ${QtWidgets_GEN_DIR} - ) -set(QtSvg_libraries pyside2 - ${Qt${QT_MAJOR_VERSION}Core_LIBRARIES} - ${Qt${QT_MAJOR_VERSION}Gui_LIBRARIES} - ${Qt${QT_MAJOR_VERSION}Widgets_LIBRARIES} - ${Qt${QT_MAJOR_VERSION}Svg_LIBRARIES} - ) -set(QtSvg_deps QtWidgets) - -create_pyside_module(NAME QtSvg - INCLUDE_DIRS QtSvg_include_dirs - LIBRARIES QtSvg_libraries - DEPS QtSvg_deps - TYPESYSTEM_PATH QtSvg_SOURCE_DIR - SOURCES QtSvg_SRC) diff --git a/sources/pyside2/PySide2/QtSvg/typesystem_svg.xml b/sources/pyside2/PySide2/QtSvg/typesystem_svg.xml deleted file mode 100644 index 079a79e96..000000000 --- a/sources/pyside2/PySide2/QtSvg/typesystem_svg.xml +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -/**************************************************************************** -** -** Copyright (C) 2016 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="PySide2.QtSvg"> - <load-typesystem name="QtWidgets/typesystem_widgets.xml" generate="no"/> - - <object-type name="QSvgRenderer"/> - <object-type name="QSvgWidget"/> - - <object-type name="QSvgGenerator"> - <modify-function signature="setOutputDevice(QIODevice*)"> - <modify-argument index="1"> - <reference-count action="set"/> - </modify-argument> - </modify-function> - - <modify-function signature="outputDevice()const"> - <modify-argument index="return"> - <define-ownership class="target" owner="default"/> - </modify-argument> - </modify-function> - </object-type> - - <object-type name="QGraphicsSvgItem"> - <modify-function signature="QGraphicsSvgItem(QGraphicsItem*)"> - <modify-argument index="this"> - <parent index="1" action="add"/> - </modify-argument> - </modify-function> - <modify-function signature="QGraphicsSvgItem(const QString&,QGraphicsItem*)"> - <modify-argument index="this"> - <parent index="2" action="add"/> - </modify-argument> - </modify-function> - </object-type> -</typesystem> |