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µÄ¿ØÖƽçÃæÈ«¸²¸ÇÁË
¶øÇÒ»ÃæҲûÓбêÌâ
ÇóÖú ¼±¼±¼± Íû¸ßÈËÖ¸µã