Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Eternus last edited by
I need load a image I have this:
but I want only "/image/yt.png"
JonB last edited by JonB
Are you sure you want
/image/yt.png? It's possible, but more likely you'll want
In any case, there is
QString::split()to split a string into a list on a character, or there is
QDirwhich you can use in combination to parse the path properly and pick up the segments you want. Even simpler may be
Eternus last edited by Eternus
thanks for reply this is image/yt.png way...
I want because If I move somewhere without computer I want can be worked on another computer
Is it a sub-folder beside your application executable ?