hi ,
Could you please explain , how to use resources file .
What i did........
1) created a main window,
2) added QActions on main window . and trying to put icons( .png ) on actions.
3) created My_Resource.qrc, then added imageOne.png , imageTwo.png ...etc from the Application directory.
see the code here, its not showing the "imageOne.png " in the QAction on mainwindow.
Qt Code:
{ fileMenu->addAction( actNew ); }To copy to clipboard, switch view to plain text mode
please help how to load the image from the .qrc file.
How it is different from load image directly from a realative path..??
NB : I am using VC++ editor
thanks
Bookmarks