diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-08 14:37:35 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-11 10:33:09 +0000 |
commit | f78cc32299aa34069c64ae8f48163ac4eda560d5 (patch) | |
tree | 7cd611c471a7eaebe20536544cb68b6df533f8b5 /sources/pyside2/PySide2/global.h.in | |
parent | 5db35b37ac2401697a6238f21979fa1e84f0ff77 (diff) |
Clean up pyside2_global.h
Make it possible to prepend or append something to the global module
header by providing a .pre/.post.h file. This removes the need to have
global includes and defines in pyside2_global.h and reduces module
dependencies.
Change-Id: I517c5765212813732b5694dcfcc86d2492e71a57
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/global.h.in')
-rw-r--r-- | sources/pyside2/PySide2/global.h.in | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sources/pyside2/PySide2/global.h.in b/sources/pyside2/PySide2/global.h.in index 1d04efe9c..60afc1744 100644 --- a/sources/pyside2/PySide2/global.h.in +++ b/sources/pyside2/PySide2/global.h.in @@ -54,20 +54,4 @@ // Make "signals:", "slots:" visible as access specifiers #define QT_ANNOTATE_ACCESS_SPECIFIER(a) __attribute__((annotate(#a))) -#include "qpytextobject.h" // PySide class - -#if @ENABLE_X11@ -# if @Qt5X11Extras_FOUND@ -# include <QtX11Extras/QX11Info> -# endif -#endif - -// QT_WIDGETS_LIB must be defined to QSqlRelationalDelegate become visible. -// It also changes code generation in pysideqtesttouch.h -#define QT_WIDGETS_LIB - -#if @Qt5Test_FOUND@ -# include "pysideqtesttouch.h" -#endif - // Here are now all configured modules appended: |