<div dir="ltr">Thanks you Allen, it does work, I can now attach to release build.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 8:58 AM, Allen Winter <span dir="ltr"><<a href="mailto:allen.winter@kdab.com" target="_blank">allen.winter@kdab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">FYI: Starting with the 2.3.0 version you can tell cmake to build the probe only<br>
<br>
passing -DGAMMARAY_PROBE_ONLY_BUILD=true builds only an additional probe configuration for an already existing launcher.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Friday, July 10, 2015 04:25:07 PM Allen Winter wrote:<br>
> Try building GammaRay in release mode as well.<br>
> Do this by passing -DCMAKE_BUILD_TYPE=release to cmake.<br>
><br>
> for example:<br>
> cd gammaray-2.2.1<br>
> mkdir build-release<br>
> cd build-release<br>
> cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release <other cmake options go here> ..<br>
> nmake<br>
> nmake install<br>
><br>
><br>
><br>
> On Thursday, July 09, 2015 08:38:26 PM Alex Lubimov wrote:<br>
> > Jérôme Godbout <jerome <at> <a href="http://bodycad.com" rel="noreferrer" target="_blank">bodycad.com</a>> writes:<br>
> ><br>
> > ><br>
> > ><br>
> > > Hi,I manage to build GammaRay 2.2.1 with VTK 6.10 under Windows 7 and Qt<br>
> > 5.3.0 (haven't have any luck with Graphiz 2.36 and don't really need it in<br>
> > my case). But the the only probe I get are the debug one, and I do not seem<br>
> > to be able to attach myself to release application from Visual Studio. Is<br>
> > there a switch for cmake to generate the release probe? Debug one are<br>
> > working.<br>
> > > On another note, how do you see the return value of method invoke from<br>
> > GammaRay? Do I have to enable the -qmljsdebugger=port: ?<br>
> > ><br>
> > ><br>
> > > Thanks,<br>
> > ><br>
> > > Jerome<br>
> > ><br>
> ><br>
> > Hi,<br>
> > I am in the same boat. I've built GammaRay 2.2.1 on Windows 7 SP1 with MSVC<br>
> > 12 and Qt 5.2.1. The only probe available is "qt5.2-MSVC-debug-i686".<br>
> > However, my application is built in release mode, and GammaRay cannot attach<br>
> > to my running app.<br>
> ><br>
> > Is there a way to build "release" probe? For multiple reasons I can only run<br>
> > my app in release mode on Windows.<br>
> ><br>
> > Thank you very much!<br>
> > Sincerely,<br>
> > Alex Lubimov<br>
> ><br>
> > _______________________________________________<br>
> > Gammaray-interest mailing list<br>
> > <a href="mailto:Gammaray-interest@mail.kdab.com">Gammaray-interest@mail.kdab.com</a><br>
> > <a href="https://mail.kdab.com/mailman/listinfo/gammaray-interest" rel="noreferrer" target="_blank">https://mail.kdab.com/mailman/listinfo/gammaray-interest</a><br>
><br>
><br>
<br>
--<br>
Allen Winter | <a href="mailto:allen.winter@kdab.com">allen.winter@kdab.com</a> | Senior Software Engineer<br>
KDAB (USA) LLC, a KDAB Group company<br>
Tel. USA +1-866-777-KDAB(5322) ext3<br>
KDAB - The Qt Experts<br>
</div></div><br>_______________________________________________<br>
Gammaray-interest mailing list<br>
<a href="mailto:Gammaray-interest@mail.kdab.com">Gammaray-interest@mail.kdab.com</a><br>
<a href="https://mail.kdab.com/mailman/listinfo/gammaray-interest" rel="noreferrer" target="_blank">https://mail.kdab.com/mailman/listinfo/gammaray-interest</a><br>
<br></blockquote></div><br></div>