Cv::imshow opens a window with a strange UI interface

My device is a Jetson Nano 16GB with OpenCV version 4.5.4.
When running an OpenCV sample, the UI of imshow looks different from the nomal one.
And in another program, it’s unable to display the video.

That happens when your OpenCV was built to use Qt instead of other GUI toolkits like GTK or system-native GUI.

The Qt backend is usually not the default.

You can build OpenCV to not use Qt.

It’s a problem caused by QT, thanks for your help