From f78cc32299aa34069c64ae8f48163ac4eda560d5 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 8 Nov 2017 14:37:35 +0100 Subject: 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 --- sources/pyside2/PySide2/global.h.in | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'sources/pyside2/PySide2/global.h.in') 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 -# 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: -- cgit v1.2.3