简体   繁体   中英

QT How to embed an application into QT widget which is a background-transparent widget that runs behind the main QT widget?

There is a 2 overlapping widgets (A and B widgets) and they are fully screen in the designer. I want to embed an application to the widget A which has a widget stack order lower than the widget B. So, I want to run the exe in A widget as a background transparent widget of the B widget. How can I achieve that?

On Windows, you can try to look into QWinHost . It can take the process ID of the exe, and embed its window into its own widget.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM