Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT Show images by one by
jondoe last edited by
I trying to make image slider with QT. I have 5 images in folder ( 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg ). I want show them on label with timer but first 1.jpg after 2.jpg after 3,4,5 after again 1.jpg. How can I do this ? I dont want do this random. Thank you for help.
Pablo J. Rogina last edited by
@jondoe I'd say have the filename of images in a list, and run a QTimer for the desired time interval, and on timer timeout you pick a new image to display based on index