Unsolved circle rotating animation
-
hi guys ,,
can anybody help me to solve thisQLabel *lbl = new QLabel;
QMovie *movie = new QMovie("G:/loader.gif");
lbl->setMovie(movie);
lbl->show();
movie->start();we have to make " circle progress bar(circle rotating animation) " can anybody suggest me how to do this?
-
@Dimple said in loading progress bar:
can anybody help me to solve this
it would help us when you tell us what you mean with "this"?
What isn't working exactly?! -
i'am not getting gif image (when i click on a button it shows loading circle image )
-
@Dimple
maybe wrong path or the label is just resize improperly ...
hard to say what going wrong in your context -
@Dimple what's your
loader.gif
supposed to look like? because this could clearly be the gif itself :-P -
@raven-worx : thank you ,,sometimes simpler one ll be complicated,,,,i gave correct path & i did resize ,,,now its showing...
also i added "imageformat" ( while we installing qt software "plugin" folder has to be created ,,in that we can see imageformat ) to our project bcz without imageformat it doesnt work so hv to add to our project folder... -
@Dimple Take a look at http://doc.qt.io/qt-5/resources.html
-
@Dimple Bạn đã giải quyết được vấn đề chưa? Mình cũng đang gặp phải trục trặc tương tự thế mà chưa biết giải quyết thế nào?