Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
path for image Label
I need to tp image Label
If I use
But if i dont know directory
it's not showing
So how to fix it ?
The best way to fix is to use resource.
as absolute path will break as soon it sees a new pc.
ps no need to add Add Prefix.
Thank you for your reply
but i'm working under Qt 4.7
I'm not sure that it supports resources
The menus are not there in Creator ?
There are no resources in menus in Creator
I havent anything like showing there http://www.bogotobogo.com/Qt/Qt5_Resource_Files.php
P.S. my logo jpg file holds in the same dir, where holds the application.
The Qt resource system has been there way before Qt 4.7.
You may have to write the file by hand but it's not that hard. See here.