Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-09 Thread Saad Khattak
Hmm, maybe...? I'm not sure. Customize may be the wrong word. What I'm asking in the question is similar to someone asking "how do I customize the output path for the binaries in CMake?". My hope was it was going to be a simple set variable for the utilities. On Wed, Nov 9, 2016, 7:56 AM Jakob

Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-09 Thread Jakob van Bethlehem
Hej, On Mon, Nov 7, 2016 at 4:48 PM, Saad Khattak wrote: > I am working on a plugin for Maya and it uses a customized version of Qt. > Maya's SDK comes with everything to build Qt (headers, libraries and > customized Qt tools such as moc.exe). > > I have the following

Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Saad Khattak
I did try that, unfortunately the Qt distribution that comes with Maya does not have the find_package CMake modules for it's version of Qt. They didn't exactly follow the folder structure of the official Qt release and they don't have any of the CMake modules. On Mon, Nov 7, 2016 at 10:54 AM

Re: [CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Konstantin Tokarev
07.11.2016, 18:49, "Saad Khattak" : > I am working on a plugin for Maya and it uses a customized version of Qt. > Maya's SDK comes with everything to build Qt (headers, libraries and > customized Qt tools such as moc.exe). > > I have the following issues: > > (1) With

[CMake] Pointing CMAKE_AUTOMOC to a custom version of Qt and its moc.exe

2016-11-07 Thread Saad Khattak
I am working on a plugin for Maya and it uses a customized version of Qt. Maya's SDK comes with everything to build Qt (headers, libraries and customized Qt tools such as moc.exe). I have the following issues: (1) With CMAKE_AUTOMOC set to ON, I am unable to figure out how to point CMake to pick