python-pyside-embedded: extend support for the QWS system
[openembedded.git] / recipes / pyside / python-pyside-embedded / support-qws.patch
blob299109a38b5c23e9164ea07622e1280816e21a32
1 diff -Naur pyside-qt4.7+1.0.2-orig/CMakeLists.txt pyside-qt4.7+1.0.2/CMakeLists.txt
2 --- pyside-qt4.7+1.0.2-orig/CMakeLists.txt 2011-04-28 22:43:01.000000000 +0200
3 +++ pyside-qt4.7+1.0.2/CMakeLists.txt 2011-05-11 11:21:17.826916001 +0200
4 @@ -105,6 +105,8 @@
5 elseif(Q_WS_SIMULATOR)
6 set(ENABLE_SIMULATOR "1")
7 set(AUTO_OS "simulator")
8 +elseif(Q_WS_QWS)
9 + set(AUTO_OS "qws")
10 else()
11 message(FATAL_ERROR "OS not supported")
12 endif()
13 diff -Naur pyside-qt4.7+1.0.2-orig/PySide/QtGui/typesystem_gui_qws.xml pyside-qt4.7+1.0.2/PySide/QtGui/typesystem_gui_qws.xml
14 --- pyside-qt4.7+1.0.2-orig/PySide/QtGui/typesystem_gui_qws.xml 1970-01-01 01:00:00.000000000 +0100
15 +++ pyside-qt4.7+1.0.2/PySide/QtGui/typesystem_gui_qws.xml 2011-05-11 11:22:45.246916001 +0200
16 @@ -0,0 +1,23 @@
17 +<?xml version="1.0"?>
18 +<!--
19 + This file is part of PySide project.
20 + Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
21 + Contact: PySide team <contact@pyside.org>
23 + This library is free software; you can redistribute it and/or
24 + modify it under the terms of the GNU Lesser General Public
25 + License as published by the Free Software Foundation; either
26 + version 2.1 of the License, or (at your option) any later version.
28 + This library is distributed in the hope that it will be useful,
29 + but WITHOUT ANY WARRANTY; without even the implied warranty of
30 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31 + Lesser General Public License for more details.
33 + You should have received a copy of the GNU Lesser General Public
34 + License along with this library; if not, write to the Free Software
35 + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
36 +-->
37 +<typesystem package="PySide.QtGui">
38 + <object-type name="QWSServer"/>
39 +</typesystem>