Qt学习笔记 GtkDialog mapped without a transient parent. This is discouraged
编译环境:ubuntu-18.04.2QtCreator4.9.1BasedonQt5.12.3(GCC5.3.120160406(RedHat5.3.1-6),64bit)QColorDialogQColorcolor=QColorDialog::getColor(Qt::red,this,tr("选择颜色"));报警:Gtk-Message:11:02:33.894:GtkDialogmapp