Results 1 to 3 of 3

Thread: undefined to reference to qt_wait_for_window_manager

  1. #1
    Join Date
    Mar 2020
    Posts
    2
    Thanks
    1
    Platforms
    Unix/X11

    Default undefined to reference to qt_wait_for_window_manager

    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,

    Qt Code:
    1. #if defined(Q_WS_X11)
    2. void qt_wait_for_window_manager( QWidget *widget );
    3. #endif
    4.  
    5. void SplashScreen::finish( QWidget *mainWin )
    6. {
    7. #if defined(Q_WS_X11)
    8. qt_wait_for_window_manager( mainWin );
    9. #endif
    10. close();
    11. }
    To copy to clipboard, switch view to plain text mode 

    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?
    Last edited by tib; 27th March 2020 at 18:53. Reason: formatting

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: undefined to reference to qt_wait_for_window_manager

    Just remove it and see if it works - I doubt this is needed anymore.

  3. The following user says thank you to ChristianEhrlicher for this useful post:

    tib (31st March 2020)

  4. #3
    Join Date
    Mar 2020
    Posts
    2
    Thanks
    1
    Platforms
    Unix/X11

    Default Re: undefined to reference to qt_wait_for_window_manager

    this worked, thanks!

Similar Threads

  1. Undefined reference
    By buster in forum Newbie
    Replies: 1
    Last Post: 2nd February 2020, 21:39
  2. undefined reference
    By deepakswaroop in forum Newbie
    Replies: 1
    Last Post: 2nd March 2011, 07:46
  3. Undefined reference
    By eekhoorn12 in forum Qt Programming
    Replies: 2
    Last Post: 6th January 2011, 16:45
  4. Undefined reference to crt
    By derektaprell in forum Installation and Deployment
    Replies: 0
    Last Post: 20th October 2009, 09:34
  5. Undefined reference
    By Salazaar in forum Newbie
    Replies: 12
    Last Post: 23rd May 2007, 11:21

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.