How to use sleep in qt creator -


i using qt creator c++. want see these 2 pictures after each other every 3 seconds. according code, shows last image on screen. have idea doing wrong?

you shall use qelapsedtimer() , implement slot shall connect qelapsedtimer's signal emitted after desired time. see qt more information on that. in slot, shall implement logic of showing images.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -