From eb29be99c276814bee20f36fe7637943aa9f72b4 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 24 Mar 2022 20:40:59 +0100 Subject: [PATCH] Web: include header with export macros --- src/Mod/Web/App/PreCompiled.h | 7 ------- src/Mod/Web/Gui/BrowserView.h | 1 + src/Mod/Web/Gui/CookieJar.h | 1 + src/Mod/Web/Gui/PreCompiled.h | 8 -------- src/Mod/Web/Gui/Workbench.h | 2 +- 5 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/Mod/Web/App/PreCompiled.h b/src/Mod/Web/App/PreCompiled.h index 6e063c2507..61806b6b0d 100644 --- a/src/Mod/Web/App/PreCompiled.h +++ b/src/Mod/Web/App/PreCompiled.h @@ -26,13 +26,6 @@ #include -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define WebAppExport __declspec(dllexport) -#else // for Linux -# define WebAppExport -#endif - #ifdef _PreComp_ // standard diff --git a/src/Mod/Web/Gui/BrowserView.h b/src/Mod/Web/Gui/BrowserView.h index cb5b8dea00..e717e152f1 100644 --- a/src/Mod/Web/Gui/BrowserView.h +++ b/src/Mod/Web/Gui/BrowserView.h @@ -26,6 +26,7 @@ #include #include +#include #include #if defined(QTWEBENGINE) diff --git a/src/Mod/Web/Gui/CookieJar.h b/src/Mod/Web/Gui/CookieJar.h index d79788b201..7ccdaa43ec 100644 --- a/src/Mod/Web/Gui/CookieJar.h +++ b/src/Mod/Web/Gui/CookieJar.h @@ -27,6 +27,7 @@ #include #include #include +#include class QNetworkCookieJar; diff --git a/src/Mod/Web/Gui/PreCompiled.h b/src/Mod/Web/Gui/PreCompiled.h index b1e7c9585e..ca89614c13 100644 --- a/src/Mod/Web/Gui/PreCompiled.h +++ b/src/Mod/Web/Gui/PreCompiled.h @@ -26,14 +26,6 @@ #include -// Importing of App classes -#ifdef FC_OS_WIN32 -# define WebGuiExport __declspec(dllexport) -#else // for Linux -# define WebGuiExport -#endif - - #ifdef _PreComp_ // standard diff --git a/src/Mod/Web/Gui/Workbench.h b/src/Mod/Web/Gui/Workbench.h index 9cf19651b5..88949dc294 100644 --- a/src/Mod/Web/Gui/Workbench.h +++ b/src/Mod/Web/Gui/Workbench.h @@ -31,7 +31,7 @@ namespace WebGui { /** * @author Werner Mayer */ -class WebGuiExport Workbench : public Gui::StdWorkbench +class Workbench : public Gui::StdWorkbench { TYPESYSTEM_HEADER();