[cmake-developers] [CMake 0013999]: CMAKE_AUTOMOC ON without find_package(Qt*) does not build

2013-03-11 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13999 == Reported By:Stephen Kelly Assigned To:

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

Re: [cmake-developers] linked-usage-cleanup regressed automoc

2013-03-11 Thread Alexander Neundorf
Hi, On Wednesday 20 February 2013, Stephen Kelly wrote: Alexander Neundorf wrote: On Wednesday 20 February 2013, Stephen Kelly wrote: Brad King wrote: Please fix and add this case to the tests. I've added fix-automoc-linker-language to stage. Alex, could you review please? If

Re: [cmake-developers] linked-usage-cleanup regressed automoc

2013-03-11 Thread Alexander Neundorf
On Monday 11 March 2013, Alexander Neundorf wrote: Hi, ... (this is again the backtrace from the earlier, unmodified version). I think instead of avoiding the case where the code crashes, it should not crash. I pushed the branch AutomocFixWithoutQt to stage. It mostly reverts the previous

Re: [cmake-developers] linked-usage-cleanup regressed automoc

2013-03-11 Thread Stephen Kelly
Alexander Neundorf wrote: The patch only avoided that specific situation when it occured with automoc, but the same situation can also happen independent from automoc. Not really, the attached case can only crash because of the automoc support built-in in cmake. Can you create a testcase

Re: [cmake-developers] linked-usage-cleanup regressed automoc

2013-03-11 Thread Stephen Kelly
Stephen Kelly wrote: Alexander Neundorf wrote: The patch only avoided that specific situation when it occured with automoc, but the same situation can also happen independent from automoc. Not really, the attached case can only crash because of the automoc support built-in in cmake. Can