It seems that this error is caused by the library libqgtk3.so located in /opt/Qt/5.9/gcc_64/plugins/platformthemes. If you don’t need it in your project you can rename/remove it to make the error go away.
If you are using CMake as a build system you also need to comment all the lines in the file /opt/Qt/5.9/gcc_64/lib/cmake/Qt5Gui/Qt5Gui_QGtk3ThemePlugin.cmake to avoid configure issues.
翻译:删除/opt/Qt/5.9/gcc_64/plugins/platformthemes路径下的 libqgtk3.so 文件(删除方法:打开终端,使用sudo su获取权限,rm libqgtk3.so删除,拷贝方法:cp -i 【源文件路径】 【目标文件夹路径】);
此外,如果还不行,需要注释/opt/Qt/5.9/gcc_64/lib/cmake/Qt5Gui/Qt5Gui_QGtk3ThemePlugin.cmake 中的所有内容。