THANKS!
Just what I was looking for. Got it working now.
_
Mike Jackson mike.jack...@bluequartz.net
On Aug 21, 2009, at 4:10 PM, David Cole wrote:
The resource compiler uses the same include directories as the C++
com
The resource compiler uses the same include directories as the C++ compiler.
So, if ${PROJECT_SOURCE_DIR} is in your include directories list, then
reference it as "Resources\\icons\\ico\\Project.ico"
If IDI_ICON1 is not defined, then the resource compiler still works and does
not complain, but th
I was actually looking for the procedure for Qt 4.5. I think I found
what I need in the CMake sources but in the CMakeSetup.rc file there
is the following:
IDI_ICON1 ICON DISCARDABLE "CMakeSetup.ico"
I grepped for IDI_ICON1 but didn't find anything being defined any
where. Also, if my
Add a *.rc file to your ADD_EXECUTABLE sources.
In the *.rc file, add a line that references the ico file:
IDR_MAINFRAME ICON"res\\CMakeSetupDialog.ico"
(In this example, IDR_MAINFRAME is a #define that gives an integer
identifier for the ico resource.)
See CMake/Sou
What would be the "cmake" way of setting an icon (.ico file) as the
icon for an executable?
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer