Many Thanks numbat !
Only menu->exec(m_ui->tableWidget->viewport()->mapToGlobal(pos)); works correctly.