<br><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 5:00 PM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Pau Garcia i Quiles wrote:<br>
</div><div class="im">> I would say most people are not using ActiveQt and CMake together, plain<br>
> and simple.<br>
><br>
> For the very few who do, they are probably only using the Qt application<br>
> as a client (i. e. load an ActiveX component), not to write servers.<br>
<br>
</div>Aha, and the implication is that in that case, the post-build steps such as<br>
running with -dumpidl and creating the IDL type library are not necessary.<br>
Is that correct?<br>
<br>
How does one do that? By using the QAxContainer module and not using<br>
QAxServer? Are there any other post-build steps in that case at all?<br>
<div class="im"><br></div></blockquote><div><br></div><div>Yes, that's right.</div><div><br></div><div>When you want to use an ActiveX component (e. g. Adobe Reader), you embed it using a QAxContainer.</div><div><br>
</div><div>When you want to create an application that will be embeddable by other applications, you create a QAxServer.</div><div><br></div><div>Your application/library could use an ActiveX component and be itself an ActiveX component to be embedded for others (simple case: you create an ActiveX component which is an enhanced reader that "extends" Adobe Reader), but it's not really common. Even less common using Qt (you would typically use C++ or C# for this kind of task). And even less common if it's Qt using CMake, for starters because being Windows-only, it makes little sense (other than moving from one version of Visual C++ to another) to use CMake for that project instead of plain Visual C++ project. All that lumped together explains why we have never seen this.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> Are those macros needed and useful? Very much so . Adding them to FindQt4<br>
> would certainly make sense to me, too.<br>
<br>
</div>I'm sure if they get written they'll be sufficiently generic to target both<br>
Qt versions without too much modification. However, if no one uses ActiveQt<br>
with CMake, do we need to do that at all?</blockquote><div><br></div><div>I think those macros are not really hard to write and if those macros are not available, we can be sure no one will use ActiveQt with CMake for the next 8 years either :-) </div>
</div><br clear="all"><div><br></div>-- <br>Pau Garcia i Quiles<br><a href="http://www.elpauer.org">http://www.elpauer.org</a><br>(Due to my workload, I may need 10 days to answer)<br>