Re: [cmake-developers] [PATCH] Qt4Macros generate resources with same file name

2015-11-30 Thread Joseph Shen
Yes, I found that. Thanks for the view, I will work an more acceptable patch later this week. Have a nice day~~ On Mon, Nov 30, 2015, 11:48 PM Clinton Stimpson wrote: > On Tuesday, November 24, 2015 11:01:27 AM Joseph Shen wrote: > > Dear CMake developers: > > > > Please view attached small pat

Re: [cmake-developers] [PATCH] Qt4Macros generate resources with same file name

2015-11-30 Thread Clinton Stimpson
On Tuesday, November 24, 2015 11:01:27 AM Joseph Shen wrote: > Dear CMake developers: > > Please view attached small patch that try to fix Qt4Macros generate > resources with same file name error. > > Right now, in the CMake main branch, using cmake with Qt4 library > add resources project can be

Re: [cmake-developers] [PATCH] Qt4Macros generate resources with same file name

2015-11-24 Thread Clinton Stimpson
How does qmake handle this conflict of resource names? The QT4_MAKE_OUTPUT_FILE() part looks fine to me. However, have you considered an alternative to string(RANDOM LENGTH 16 outfilename) which is to allow the caller to pass in the "-name ..." option. qt4_add_resources(app_source_res res_a.qrc

[cmake-developers] [PATCH] Qt4Macros generate resources with same file name

2015-11-23 Thread Joseph Shen
Dear CMake developers: Please view attached small patch that try to fix Qt4Macros generate resources with same file name error. Right now, in the CMake main branch, using cmake with Qt4 library add resources project can be done like this: qt4_add_resources(app_source_res res_a.qrc) qt4