Re: [Development] Qt Quick2 OpenGL or Raster translucent window

2012-03-12 Thread gunnar.sletta
ould be interested in hearing the outcome :) Hope this helps you dig a bit further. cheers, Gunnar > Thank you^_^ > > From: "sarah.j.sm...@nokia.com" > To: longlon...@yahoo.com > Cc: samuel.ro...@nokia.com; development@qt-project.org > Sent: Sunday, March 11, 20

Re: [Development] Qt Quick2 OpenGL or Raster translucent window

2012-03-11 Thread hailong geng
raph? Thank you^_^ From: "sarah.j.sm...@nokia.com" To: longlon...@yahoo.com Cc: samuel.ro...@nokia.com; development@qt-project.org Sent: Sunday, March 11, 2012 5:32 PM Subject: Re: [Development] Qt Quick2 OpenGL or Raster translucent window Hi Have you tried something like

Re: [Development] Qt Quick2 OpenGL or Raster translucent window

2012-03-11 Thread sarah.j.smith
Hi Have you tried something like this: int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QSurfaceFormat f; f.setSamples(16); // if you want AA as well f.setAlphaBufferSize(8); // turn on alpha QQuickView view; view.setFormat(f); view.se

[Development] Qt Quick2 OpenGL or Raster translucent window

2012-03-10 Thread hailong geng
Hi I have searched the Internet these two days and I find that it seems impossible to draw translucent window in Windows XP by OpenGL, because it doesn't support pixel alpha blending. So does Qt have found a way to do that for Windows XP?  Or Qt Quick2 just ignore the translucent function for Win