aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in')
-rw-r--r--sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in b/sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in
new file mode 100644
index 000000000..21285e301
--- /dev/null
+++ b/sources/pyside6/PySide6/QtWinExtras/QtWinExtras_global.pre.h.in
@@ -0,0 +1,5 @@
+// QT_WIDGETS_LIB must be defined for the widget functions to become visible.
+
+#if @Qt6Widgets_FOUND@
+# define QT_WIDGETS_LIB
+#endif