Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-22 Thread Michael Wild
On 22. Jul, 2010, at 17:07 , kent williams wrote: > It's perfectly clear to me now, but I bet I'm not the first (or last!) > person to run into issues like this and get roadblocked. > > Every software task seems to have its stumbling block. > > In Medical Image Processing we spend a lot of our

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-22 Thread kent williams
It's perfectly clear to me now, but I bet I'm not the first (or last!) person to run into issues like this and get roadblocked. Every software task seems to have its stumbling block. In Medical Image Processing we spend a lot of our time debugging issues related to how image volumes are oriented/

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 16:18:26, kent williams wrote: > OK, so set_source_file_properties needs a property value that's a > single string. This wasn't clear from the documentation at all or not > clear to me at least. Thanks for your help! It doesn't need to be explicit if you've understood cmake variables

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
OK, so set_source_file_properties needs a property value that's a single string. This wasn't clear from the documentation at all or not clear to me at least. Thanks for your help! On Tue, Jul 20, 2010 at 4:07 PM, Andreas Pakulat wrote: > On 20.07.10 15:43:16, kent williams wrote: >> I see what

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 15:43:16, kent williams wrote: > I see what you're doing and I have two points: > > 1. You only have one file in ${${PROJECT_HAME}_UIS} -- what happens if > you create a second file with Designer and add it to this project? > Believe me, I read through Qt4Macros.cmake, and what's there

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
I see what you're doing and I have two points: 1. You only have one file in ${${PROJECT_HAME}_UIS} -- what happens if you create a second file with Designer and add it to this project? Believe me, I read through Qt4Macros.cmake, and what's there should work, but in my case it most definitely does

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread John Drescher
On Tue, Jul 20, 2010 at 4:09 PM, kent williams wrote: > Thanks.  I don't know if you've actually tried the project I put up to > illustrate the project, but while what you say makes sense, it doesn't > appear to fix the problem. > > It's frustrating for me; apparently, though I'm following exactly

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Thanks. I don't know if you've actually tried the project I put up to illustrate the project, but while what you say makes sense, it doesn't appear to fix the problem. It's frustrating for me; apparently, though I'm following exactly the pattern that's reputed to work, CMake isn't generating the

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Michael Wild
Hi I hope the inline comments below solve your problems. And please, don't cross-post... On 20. Jul, 2010, at 19:06 , kent williams wrote: > This is with cmake version 2.8.1 on OS X 10.6. > > I had a project using CMake and Qt. As long as I only used one QT > Designer-generated .ui file, eve

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
http://www.cornwarning.com/xfer/QTCMakeTest.tar.gz Sorry for the trouble. Safari has a feature, whereby if I type in a URL to test it, it will initiate a successful download, but then change the URL in the URL entry box to the incorrect URL. Steve Jobs wants to ruin my life, and every day he does

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread John Drescher
On Tue, Jul 20, 2010 at 2:48 PM, Andreas Pakulat wrote: > On 20.07.10 13:30:51, kent williams wrote: >> Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz > > Still the same. Same here. I get a cute image that says "Sorry Sam, I can't seem to find that URL." John ___

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 13:30:51, kent williams wrote: > Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz Still the same. Andreas -- You will contract a rare disease. ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz On Tue, Jul 20, 2010 at 1:20 PM, kent williams wrote: > Sorry -- thanks for trying though. > > http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz > > On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat wrote: >> On 20.07.10 12

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
Sorry -- thanks for trying though. http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz On Tue, Jul 20, 2010 at 1:00 PM, Andreas Pakulat wrote: > On 20.07.10 12:06:11, kent williams wrote: >> This is with cmake version 2.8.1 on OS X 10.6. >> >> I had a project using CMake and Qt.  As long as I onl

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 12:06:11, kent williams wrote: > This is with cmake version 2.8.1 on OS X 10.6. > > I had a project using CMake and Qt. As long as I only used one QT > Designer-generated .ui file, everything worked perfectly. When I added > as second UI file, things no longer worked. I was working fr

[CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread kent williams
This is with cmake version 2.8.1 on OS X 10.6. I had a project using CMake and Qt. As long as I only used one QT Designer-generated .ui file, everything worked perfectly. When I added as second UI file, things no longer worked. I was working from the CMake + Qt4 examples on the web. There are tw