On Mon, 2009-03-30 at 12:17 -0400, John Drescher wrote: > On Mon, Mar 30, 2009 at 12:04 PM, Kermit Mei <[email protected]> wrote: > > Hello community! I want to change my program's icon on windows, and it > > wrote with Qt4. I looked up the assistant, it told me the following. > > > > But I don't know how to use it in cmake? > > And, another question: If I use MinGW+Qt, but not M$ VC++, can I use it? > > > > > Shouldn't that be qrc for Qt4? And then you use something like this in > your CMakeLists.txt > > # and finally an resource file > SET( UPMC_LA_RCS > ./rc/LungAnalysis.qrc > ) > > # this command will generate rules that will run rcc on all files from > UPMC_LA_RCS > # in result UPMC_LA_RC_SRCS variable will contain paths to files produced by > rcc > QT4_ADD_RESOURCES( UPMC_LA_RC_SRCS ${UPMC_LA_RCS} ) > > > John No, John,it's not qrc, and what you said I had used before. What I want is to change the icon of myapp.exe.
Thank you,all the same;p _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
