widget_sdl->winId()); #else sprintf(variable,"SDL_WINDOWID=0x%lx",this->winId()); #endif putenv(variable)£» ¾" />
ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÔõôÔÚqt4ÖÐǶÈëSDLÏÔʾµÄ»­Ã棿 ¿ÉÒÔÏÔʾͼÏñ£¬µ«QT²Ëµ¥Ã»ÁË

·¢²¼Ê±¼ä:2012-05-01 15:46:18À´Ô´:ºìÁª×÷Õß:
char variable[64];
#ifndef Q_OS_WIN
sprintf(variable,"SDL_WINDOWID=0x%lx",ui->widget_sdl->winId());
#else
sprintf(variable,"SDL_WINDOWID=0x%lx",this->winId());
#endif
putenv(variable)£»

¾ÍÊÇÓл­ÃæÏÔʾ »­ÃæÖ®ÍâµÄÈ«ºÚ Êó±êÖ»ÔÚ»­ÃæÄÚÓÐЧ °ÑQTµÄ¿ØÖƽçÃæÈ«¸²¸ÇÁË
¶øÇÒ»­ÃæҲûÓбêÌâ

ÇóÖú ¼±¼±¼± Íû¸ßÈËÖ¸µã
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ