Blob Blame Raw
diff -rupN --no-dereference qtactiveqt-everywhere-src-5.12.5/src/activeqt/control/qaxserverbase.cpp qtactiveqt-everywhere-src-5.12.5-new/src/activeqt/control/qaxserverbase.cpp
--- qtactiveqt-everywhere-src-5.12.5/src/activeqt/control/qaxserverbase.cpp	2019-08-23 13:35:38.000000000 +0200
+++ qtactiveqt-everywhere-src-5.12.5-new/src/activeqt/control/qaxserverbase.cpp	2019-09-25 14:44:07.434685393 +0200
@@ -1862,9 +1862,6 @@ void QAxServerBase::resize(const QSize &
     // make sure we get a resize event even if not embedded as a control
     if (!m_hWnd && !qt.widget->isVisible() && newSize != oldSize) {
         QResizeEvent resizeEvent(newSize, oldSize);
-#ifndef QT_SHARED // import from static library
-        extern bool qt_sendSpontaneousEvent(QObject*,QEvent*);
-#endif
         qt_sendSpontaneousEvent(qt.widget, &resizeEvent);
     }
     m_currentExtent = qt.widget->size();
@@ -4068,12 +4065,10 @@ HRESULT WINAPI QAxServerBase::SetColorSc
 }
 
 
-#ifdef QT_SHARED // avoid conflict with symbol in static lib
 bool qt_sendSpontaneousEvent(QObject *o, QEvent *e)
 {
     return QCoreApplication::sendSpontaneousEvent(o, e);
 }
-#endif
 
 /*
     Tries to set the size of the control.