PDA

View Full Version : undefined to reference to qt_wait_for_window_manager



tib
27th March 2020, 17:53
I am porting Qt3 to Qt4 and am running into a linking error via the above function. It is being used in the same manner listed here: https://doc.qt.io/archives/qq/qq04-splashscreen.html

That is,



#if defined(Q_WS_X11)
void qt_wait_for_window_manager( QWidget *widget );
#endif

void SplashScreen::finish( QWidget *mainWin )
{
#if defined(Q_WS_X11)
qt_wait_for_window_manager( mainWin );
#endif
close();
}


Is this specific to Qt3 that I should not worry about with Qt4? I just ask because the only references I find are the previous url and what looks to be Qt3 code.

It mentions that this is platform-specific, does that mean that my OS (CentOS 7.7) does not contain this?

ChristianEhrlicher
27th March 2020, 19:52
Just remove it and see if it works - I doubt this is needed anymore.

tib
31st March 2020, 22:16
this worked, thanks!