Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
同样的代码,在ubuntu上,是可以正常运行的,子窗口打开后,父窗口无法点击,只能关了子窗口后才能点父窗口。 但交叉编译后,就工作不正常了,子窗口打开后,子窗口小于父窗口,点子窗口外的区域,子窗口消失,父窗口也无法点击了。 请问,这是哪里的问题。 子窗口,调用了 this->setWindowFlags(Qt::Tool| Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint);
感觉直接设置窗口的模态Modal属性