Issue
I recently saw the following piece of PyQt GUI code:
QIcon(":/image/images/search.png")
What does the leading colon in the path string mean?
Solution
It means that the path is an application resource instead of a full filepath.
Answered By - Ignacio Vazquez-Abrams
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.