I have a main window with a toolbar that has some tool buttons on it.
The resource file has just 1 icon and is used as the main window's icon, and tool button's icon.
The code looks like this
I also had called Q_INIT_RESOURCE in the main.Qt Code:
To copy to clipboard, switch view to plain text mode
Everything work fine when linking with Qt dynamically, however the icon won't display in both places when linking with Qt statically.
Please let me know what did I do wrong
Bookmarks