forked from commontk/PythonQt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Based on work from the following individual: * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/) * Julien Finet (@finetjul): See commontk#38) * Arnaud Barre (@Alzathar):See commontk#15 * Eric Heim (@eric-h):See commontk#36
- Loading branch information
1 parent
d4113b8
commit 5ecc08c
Showing
7 changed files
with
303 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
#include "PythonQt_QtBindings.h" | ||
|
||
#include "PythonQt.h" | ||
|
||
void PythonQt_init_QtGui(PyObject*); | ||
void PythonQt_init_QtSvg(PyObject*); | ||
void PythonQt_init_QtSql(PyObject*); | ||
void PythonQt_init_QtNetwork(PyObject*); | ||
void PythonQt_init_QtCore(PyObject*); | ||
void PythonQt_init_QtWebKit(PyObject*); | ||
void PythonQt_init_QtOpenGL(PyObject*); | ||
void PythonQt_init_QtXml(PyObject*); | ||
void PythonQt_init_QtXmlPatterns(PyObject*); | ||
void PythonQt_init_QtUiTools(PyObject*); | ||
|
||
PYTHONQT_EXPORT void PythonQt_init_QtBindings() | ||
{ | ||
#ifdef PYTHONQT_WRAP_Qtcore | ||
PythonQt_init_QtCore(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtgui | ||
PythonQt_init_QtGui(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtnetwork | ||
PythonQt_init_QtNetwork(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtopengl | ||
PythonQt_init_QtOpenGL(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsql | ||
PythonQt_init_QtSql(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsvg | ||
PythonQt_init_QtSvg(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtuitools | ||
PythonQt_init_QtUiTools(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtwebkit | ||
PythonQt_init_QtWebKit(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxml | ||
PythonQt_init_QtXml(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxmlpatterns | ||
PythonQt_init_QtXmlPatterns(0); | ||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef _PYTHONQT_QTBINDINGS_H | ||
#define _PYTHONQT_QTBINDINGS_H | ||
|
||
#include "PythonQtSystem.h" | ||
|
||
/// Initialize Qt bindings enabled at configuration time | ||
PYTHONQT_EXPORT void PythonQt_init_QtBindings(); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
#include "PythonQt_QtBindings.h" | ||
|
||
#include "PythonQt.h" | ||
|
||
void PythonQt_init_QtGui(PyObject*); | ||
void PythonQt_init_QtSvg(PyObject*); | ||
void PythonQt_init_QtSql(PyObject*); | ||
void PythonQt_init_QtNetwork(PyObject*); | ||
void PythonQt_init_QtCore(PyObject*); | ||
void PythonQt_init_QtWebKit(PyObject*); | ||
void PythonQt_init_QtOpenGL(PyObject*); | ||
void PythonQt_init_QtXml(PyObject*); | ||
void PythonQt_init_QtXmlPatterns(PyObject*); | ||
void PythonQt_init_QtUiTools(PyObject*); | ||
|
||
PYTHONQT_EXPORT void PythonQt_init_QtBindings() | ||
{ | ||
#ifdef PYTHONQT_WRAP_Qtcore | ||
PythonQt_init_QtCore(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtgui | ||
PythonQt_init_QtGui(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtnetwork | ||
PythonQt_init_QtNetwork(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtopengl | ||
PythonQt_init_QtOpenGL(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsql | ||
PythonQt_init_QtSql(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsvg | ||
PythonQt_init_QtSvg(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtuitools | ||
PythonQt_init_QtUiTools(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtwebkit | ||
PythonQt_init_QtWebKit(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxml | ||
PythonQt_init_QtXml(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxmlpatterns | ||
PythonQt_init_QtXmlPatterns(0); | ||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef _PYTHONQT_QTBINDINGS_H | ||
#define _PYTHONQT_QTBINDINGS_H | ||
|
||
#include "PythonQtSystem.h" | ||
|
||
/// Initialize Qt bindings enabled at configuration time | ||
PYTHONQT_EXPORT void PythonQt_init_QtBindings(); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
#include "PythonQt_QtBindings.h" | ||
|
||
#include "PythonQt.h" | ||
|
||
void PythonQt_init_QtGui(PyObject*); | ||
void PythonQt_init_QtSvg(PyObject*); | ||
void PythonQt_init_QtSql(PyObject*); | ||
void PythonQt_init_QtNetwork(PyObject*); | ||
void PythonQt_init_QtCore(PyObject*); | ||
void PythonQt_init_QtWebKit(PyObject*); | ||
void PythonQt_init_QtOpenGL(PyObject*); | ||
void PythonQt_init_QtXml(PyObject*); | ||
void PythonQt_init_QtXmlPatterns(PyObject*); | ||
void PythonQt_init_QtUiTools(PyObject*); | ||
|
||
PYTHONQT_EXPORT void PythonQt_init_QtBindings() | ||
{ | ||
#ifdef PYTHONQT_WRAP_Qtcore | ||
PythonQt_init_QtCore(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtgui | ||
PythonQt_init_QtGui(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtnetwork | ||
PythonQt_init_QtNetwork(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtopengl | ||
PythonQt_init_QtOpenGL(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsql | ||
PythonQt_init_QtSql(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtsvg | ||
PythonQt_init_QtSvg(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtuitools | ||
PythonQt_init_QtUiTools(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtwebkit | ||
PythonQt_init_QtWebKit(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxml | ||
PythonQt_init_QtXml(0); | ||
#endif | ||
|
||
#ifdef PYTHONQT_WRAP_Qtxmlpatterns | ||
PythonQt_init_QtXmlPatterns(0); | ||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef _PYTHONQT_QTBINDINGS_H | ||
#define _PYTHONQT_QTBINDINGS_H | ||
|
||
#include "PythonQtSystem.h" | ||
|
||
/// Initialize Qt bindings enabled at configuration time | ||
PYTHONQT_EXPORT void PythonQt_init_QtBindings(); | ||
|
||
#endif | ||
|