Home > Mobile >  Can use QLabel the animation in the Debug, in Relese version does not show
Can use QLabel the animation in the Debug, in Relese version does not show

Time:09-18

RT
Add the GIF to the project of the

Main implementation code is

PMovie2=new QMovie (" :/PNG/gif2. GIF ");
The UI - & gt; Label_gif2 - & gt; SetMovie (pMovie2);
PMovie2 - & gt; start();


In the Debug is completely normal no problem, but to switch to Relese version will not show,
Resource location is no problem, the user interface (UI) - & gt; Label_gif2 is normal display, is tested to add character, can display the add characters
  •  Tags:  
  • Qt
  • Related