简体   繁体   English

如何在Qt中表示X11的“可绘制”

[英]How to represent “Drawable” of X11 in Qt

I am using a 3rd party library in Qt. 我正在Qt中使用第3方库。 with an API,i need to pass the "Drawable" object to it . 使用API​​,我需要将“ Drawable”对象传递给它。 Its mentioned the drawable is an X Windows Pixmap and is assumed to exist on X Screen screen of Display display 它提到的drawable是X Windows Pixmap,并假定存在于Display显示器的X Screen屏幕上

In this case i need to use a Qt pixmap to pass to it as drawable . 在这种情况下,我需要使用Qt像素图作为drawable传递给它。 How do i accomplish this. 我该如何做到这一点。 Please advice. 请指教。

也许文档可以为您提供帮助: Qt :: HANDLE QPixmap :: x11PictureHandle()const

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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