[CMake] ActiveQt with CMake?

Pau Garcia i Quiles pgquiles at elpauer.org
Wed Dec 5 10:49:29 EST 2012


On Wed, Dec 5, 2012 at 4:32 PM, Stephen Kelly <steveire at gmail.com> wrote:


>  > I think a few new macros (CMake, not CPack) are needed to generate the
> > IDL, then compile it to the type library (.tlb), then combine it with the
> > executable. Amb maybe even one that combines those three in one, which
> > will be what people usually do.
> >
>
> What surprises me is that in the time since ActiveQt and CMake could be
> used
> together, no one else has written such macros.
>
> Or has everyone using the ActiveQt modules written such macros separately?
>
> Or is it more likely that people using ActiveQt have manually done the
> post-
> build steps, such as -dumpidl and creating the IDL type libbrary, outside
> of
> CMake?
>
> I'm trying to find out how people use ActiveQt/CMake in practice in the
> real
> world, what compatibility needs to be kept, and if the CMake files
> generated
> for Qt 5 are useful at all, or need to be extended before becoming useful.
>
> Your reply makes me think that the Qt5 patch is useful to the same extent
> as
> the FindQt4 patch was useful - that it is enough that people can do the
> rest
> themselves (outside of CMake if needed)? Can you confirm?
>
>
I would say most people are not using ActiveQt and CMake together, plain
and simple.

For the very few who do, they are probably only using the Qt application as
a client (i. e. load an ActiveX component), not to write servers.

Are those macros needed and useful? Very much so . Adding them to FindQt4
would certainly make sense to me, too.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121205/30c4f701/attachment-0001.htm>


More information about the CMake mailing list