Re: [Development] ActiveQt AxServer with CMake

2014-02-13 Thread Fricot, Daniel
[mailto:development-bounces+daniel.fricot=barco@qt-project.org] On Behalf Of Thomas Sondergaard Sent: donderdag 13 februari 2014 14:21 To: development@qt-project.org Subject: Re: [Development] ActiveQt AxServer with CMake On 2014-02-13 13:47, Fricot, Daniel wrote: > Rob, > Your cmake snippet is basically

Re: [Development] ActiveQt AxServer with CMake

2014-02-13 Thread Thomas Sondergaard
On 2014-02-13 13:47, Fricot, Daniel wrote: > Rob, > Your cmake snippet is basically what I do in my build. > Idc is the problem. This gives the " Timers can only be used with > threads started with QThread" error. > After some more playing around, I noticed something. If I place a > breakpoint in t

Re: [Development] ActiveQt AxServer with CMake

2014-02-13 Thread Stephen Kelly
On Thursday, February 13, 2014 12:47:28 Fricot, Daniel wrote: > As you can see, in > the activeqt server, build with qmake, the main is called from WinMain in > qaxservermain.cpp. I don't know if this is the result of the IDL commands > (in which case, the cmake build obviously does not have the Wi

Re: [Development] ActiveQt AxServer with CMake

2014-02-13 Thread Fricot, Daniel
al Message- From: Robert Knight [mailto:robertkni...@gmail.com] Sent: woensdag 12 februari 2014 16:48 To: Fricot, Daniel Cc: development@qt-project.org Subject: Re: [Development] ActiveQt AxServer with CMake > Has anyone managed to create an ActiveQt server with CMake? To clarify, is the probl

Re: [Development] ActiveQt AxServer with CMake

2014-02-12 Thread Robert Knight
> Has anyone managed to create an ActiveQt server with CMake? To clarify, is the problem with running the IDC/IDL tools or some other step? The CMake logic we've used for this is roughly: set(IDL_COMMANDS COMMAND idl ${BINARY_PATH} -idl ${BINARY_PATH}.idl COMMAND midl ${BINARY_PATH}.idl ${BIN

Re: [Development] ActiveQt AxServer with CMake

2014-02-12 Thread Stephen Kelly
On Wednesday, February 12, 2014 14:24:05 Fricot, Daniel wrote: > Hi, > Has anyone managed to create an ActiveQt server with CMake? I got it working > with qmake but we need to do this with CMake. You might try the cmake users mailing list. Thanks, -- Stephen Kelly | Software Engineer KDAB (Deu

[Development] ActiveQt AxServer with CMake

2014-02-12 Thread Fricot, Daniel
Hi, Has anyone managed to create an ActiveQt server with CMake? I got it working with qmake but we need to do this with CMake. I also tried idc manually after CMake but then I keep getting the error: QObject::startTimer: Timers can only be used with threads started with QThread IDL generation fai