##// END OF EJS Templates
updated to changed PythonQt API...
florianlink -
r107:db828905eff6
parent child
Show More
@@ -1,64 +1,67
1 /*
1 /*
2 *
2 *
3 * Copyright (C) 2006 MeVis Research GmbH All Rights Reserved.
3 * Copyright (C) 2006 MeVis Research GmbH All Rights Reserved.
4 *
4 *
5 * This library is free software; you can redistribute it and/or
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
8 * version 2.1 of the License, or (at your option) any later version.
9 *
9 *
10 * This library is distributed in the hope that it will be useful,
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
13 * Lesser General Public License for more details.
14 *
14 *
15 * Further, this software is distributed without any warranty that it is
15 * Further, this software is distributed without any warranty that it is
16 * free of the rightful claim of any third person regarding infringement
16 * free of the rightful claim of any third person regarding infringement
17 * or the like. Any license provided herein, whether implied or
17 * or the like. Any license provided herein, whether implied or
18 * otherwise, applies only to this software file. Patent licenses, if
18 * otherwise, applies only to this software file. Patent licenses, if
19 * any, provided herein do not apply to combinations of this program with
19 * any, provided herein do not apply to combinations of this program with
20 * other software, or any other product whatsoever.
20 * other software, or any other product whatsoever.
21 *
21 *
22 * You should have received a copy of the GNU Lesser General Public
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
25 *
26 * Contact information: MeVis Research GmbH, Universitaetsallee 29,
26 * Contact information: MeVis Research GmbH, Universitaetsallee 29,
27 * 28359 Bremen, Germany or:
27 * 28359 Bremen, Germany or:
28 *
28 *
29 * http://www.mevis.de
29 * http://www.mevis.de
30 *
30 *
31 */
31 */
32
32
33 #include "PythonQt_QtAll.h"
33 #include "PythonQt_QtAll.h"
34
34
35 void PythonQt_init_QtGui();
35 #include "PythonQt.h"
36 void PythonQt_init_QtSvg();
36
37 void PythonQt_init_QtSql();
37 void PythonQt_init_QtGui(PyObject*);
38 void PythonQt_init_QtNetwork();
38 void PythonQt_init_QtSvg(PyObject*);
39 void PythonQt_init_QtCore();
39 void PythonQt_init_QtSql(PyObject*);
40 void PythonQt_init_QtWebKit();
40 void PythonQt_init_QtNetwork(PyObject*);
41 void PythonQt_init_QtOpenGL();
41 void PythonQt_init_QtCore(PyObject*);
42 void PythonQt_init_QtXml();
42 void PythonQt_init_QtWebKit(PyObject*);
43 void PythonQt_init_QtXmlPatterns();
43 void PythonQt_init_QtOpenGL(PyObject*);
44 void PythonQt_init_QtUiTools();
44 void PythonQt_init_QtXml(PyObject*);
45 //void PythonQt_init_QtPhonon();
45 void PythonQt_init_QtXmlPatterns(PyObject*);
46 void PythonQt_init_QtUiTools(PyObject*);
47 void PythonQt_init_QtPhonon(PyObject*);
46
48
47 namespace PythonQt_QtAll
49 namespace PythonQt_QtAll
48 {
50 {
49 PYTHONQT_QTALL_EXPORT void init() {
51 PYTHONQT_QTALL_EXPORT void init() {
50 PythonQt_init_QtCore();
52 PythonQt_init_QtCore(0);
51 PythonQt_init_QtNetwork();
53 PythonQt_init_QtNetwork(0);
52 PythonQt_init_QtGui();
54 PythonQt_init_QtGui(0);
53 PythonQt_init_QtXml();
55 PythonQt_init_QtXml(0);
54 PythonQt_init_QtXmlPatterns();
56 PythonQt_init_QtSvg(0);
55 PythonQt_init_QtSvg();
57 PythonQt_init_QtSql(0);
56 PythonQt_init_QtSql();
58 PythonQt_init_QtWebKit(0);
57 PythonQt_init_QtWebKit();
59 PythonQt_init_QtOpenGL(0);
58 PythonQt_init_QtOpenGL();
60 PythonQt_init_QtUiTools(0);
59 PythonQt_init_QtUiTools();
61 // Does not compile yet:
60 // PythonQt_init_QtPhonon();
62 // PythonQt_init_QtXmlPatterns(0);
63 // PythonQt_init_QtPhonon(0);
61 };
64 };
62 };
65 };
63
66
64
67
@@ -1,35 +1,35
1
1
2 TARGET = PythonQt_QtAll
2 TARGET = PythonQt_QtAll
3 TEMPLATE = lib
3 TEMPLATE = lib
4
4
5 DESTDIR = ../../lib
5 DESTDIR = ../../lib
6
6
7 include ( ../../build/common.prf )
7 include ( ../../build/common.prf )
8 include ( ../../build/PythonQt.prf )
8 include ( ../../build/PythonQt.prf )
9
9
10 CONFIG += dll qt
10 CONFIG += dll qt
11
11
12 DEFINES += PYTHONQT_QTALL_EXPORTS
12 DEFINES += PYTHONQT_QTALL_EXPORTS
13
13
14 HEADERS += \
14 HEADERS += \
15 PythonQt_QtAll.h
15 PythonQt_QtAll.h
16
16
17 SOURCES += \
17 SOURCES += \
18 PythonQt_QtAll.cpp
18 PythonQt_QtAll.cpp
19
19
20 CONFIG += uitools
20 CONFIG += uitools
21 QT += webkit gui svg sql network xml xmlpatterns opengl
21 QT += webkit gui svg sql network xml xmlpatterns opengl
22 #QT += phonon
22 #QT += phonon
23
23
24 include (../../generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core.pri)
24 include (../../generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core.pri)
25 include (../../generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui.pri)
25 include (../../generated_cpp/com_trolltech_qt_gui/com_trolltech_qt_gui.pri)
26 include (../../generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg.pri)
26 include (../../generated_cpp/com_trolltech_qt_svg/com_trolltech_qt_svg.pri)
27 include (../../generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql.pri)
27 include (../../generated_cpp/com_trolltech_qt_sql/com_trolltech_qt_sql.pri)
28 include (../../generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network.pri)
28 include (../../generated_cpp/com_trolltech_qt_network/com_trolltech_qt_network.pri)
29 include (../../generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri)
29 include (../../generated_cpp/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri)
30 include (../../generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri)
30 include (../../generated_cpp/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri)
31 include (../../generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml.pri)
31 include (../../generated_cpp/com_trolltech_qt_xml/com_trolltech_qt_xml.pri)
32 include (../../generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri)
33 include (../../generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri)
32 include (../../generated_cpp/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri)
34
33
34 #include (../../generated_cpp/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri)
35 #include (../../generated_cpp/com_trolltech_qt_phonon/com_trolltech_qt_phonon.pri)
35 #include (../../generated_cpp/com_trolltech_qt_phonon/com_trolltech_qt_phonon.pri)
General Comments 0
You need to be logged in to leave comments. Login now