I\'m trying to insert an image to my program via resource file, which is like:
green.png&l
First of all, you need to create a .qrc file and add image folder to it
then go to mainwindow.cpp (in my project ) file and call the images as below code
ui->play->setIcon(QIcon(":/Playericons/icons8-pause-30.png"));