Blob Blame History Raw
diff -rupN --no-dereference qtactiveqt-everywhere-src-5.13.2/src/activeqt/control/qaxserverbase.cpp qtactiveqt-everywhere-src-5.13.2-new/src/activeqt/control/qaxserverbase.cpp
--- qtactiveqt-everywhere-src-5.13.2/src/activeqt/control/qaxserverbase.cpp	2019-10-14 12:20:33.000000000 +0200
+++ qtactiveqt-everywhere-src-5.13.2-new/src/activeqt/control/qaxserverbase.cpp	2019-12-11 10:19:29.432709728 +0100
@@ -1875,9 +1875,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();
@@ -4081,12 +4078,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.