Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread Brad King
On 03/15/2013 07:57 AM, Stephen Kelly wrote: Marcus D. Hanwell wrote: On Mon, Mar 11, 2013 at 12:45 PM, Brad King brad.k...@kitware.com wrote: On 03/11/2013 12:34 PM, Clinton Stimpson wrote: I fixed a few bugs with that patch, and it is now merged with next. Great, thanks for taking care

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread clinton
- Original Message - On 03/15/2013 07:57 AM, Stephen Kelly wrote: Marcus D. Hanwell wrote: On Mon, Mar 11, 2013 at 12:45 PM, Brad King brad.k...@kitware.com wrote: On 03/11/2013 12:34 PM, Clinton Stimpson wrote: I fixed a few bugs with that patch, and it is now merged with

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread Stephen Kelly
I have a fix for it coming soon. Steve, you have your Qt5 in CMAKE_PREFIX_PATH, right? That's a way I found to reproduce this. Yes, that's right. Thanks, Steve. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread clinton
- Original Message - I have a fix for it coming soon. Steve, you have your Qt5 in CMAKE_PREFIX_PATH, right? That's a way I found to reproduce this. Yes, that's right. Ok. Then the fix is now in next. Clint -- Powered by www.kitware.com Visit other Kitware open-source

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread Stephen Kelly
clin...@elemtech.com wrote: - Original Message - I have a fix for it coming soon. Steve, you have your Qt5 in CMAKE_PREFIX_PATH, right? That's a way I found to reproduce this. Yes, that's right. Ok. Then the fix is now in next. Tested and it works for me,

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Brad King
On 03/08/2013 02:52 PM, Clinton Stimpson wrote: Its not as simple as changing the order. If I have my own build of Qt4, and if FindQt4.cmake had this: find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac qmake ...) and I try to use my build of Qt

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Clinton Stimpson
On Monday, March 11, 2013 11:23:31 AM Brad King wrote: On 03/08/2013 02:52 PM, Clinton Stimpson wrote: Its not as simple as changing the order. If I have my own build of Qt4, and if FindQt4.cmake had this: find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac qmake ...) and I

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Clinton Stimpson
On Monday, March 11, 2013 10:05:48 AM Clinton Stimpson wrote: On Monday, March 11, 2013 11:23:31 AM Brad King wrote: On 03/08/2013 02:52 PM, Clinton Stimpson wrote: Its not as simple as changing the order. If I have my own build of Qt4, and if FindQt4.cmake had this:

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Brad King
On 03/11/2013 12:34 PM, Clinton Stimpson wrote: I fixed a few bugs with that patch, and it is now merged with next. Great, thanks for taking care of this. -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Marcus D. Hanwell
On Mon, Mar 11, 2013 at 12:45 PM, Brad King brad.k...@kitware.com wrote: On 03/11/2013 12:34 PM, Clinton Stimpson wrote: I fixed a few bugs with that patch, and it is now merged with next. Great, thanks for taking care of this. I verified that next finds the correct qmake for me too, thanks

[cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-08 Thread Marcus D. Hanwell
Hi, I notice that Arch has already patched this, but CMake master as of aa027af9 still finds /usr/bin/qmake when a /usr/bin/qmake-qt4 is available. This bug is reported here, http://public.kitware.com/Bug/view.php?id=13985 Is there any issue with changing the order so that if qmake-qt4 is found

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-08 Thread Clinton Stimpson
Its not as simple as changing the order. If I have my own build of Qt4, and if FindQt4.cmake had this: find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac qmake ...) and I try to use my build of Qt CMAKE_PREFIX_PATH=/home/me/qt/qt-4.7.2 cmake ../ It finds /usr/bin/qmake-qt4 instead,

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-08 Thread Marcus D. Hanwell
On Fri, Mar 8, 2013 at 2:52 PM, Clinton Stimpson clin...@elemtech.com wrote: On Friday, March 08, 2013 02:35:53 PM Marcus D. Hanwell wrote: I notice that Arch has already patched this, but CMake master as of aa027af9 still finds /usr/bin/qmake when a /usr/bin/qmake-qt4 is available. This bug