In that case make your popup a Qt::ToolTip instead of Qt::Popup.