On Tue, Dec 4, 2012 at 11:28 AM, Stephen Kelly <steve...@gmail.com> wrote:
> > Hi there, > > I'm attempting to write a unit test for the Qt 5 ActiveQt module: > > https://codereview.qt-project.org/#change,41554 > > The problem is that I don't have any prior experience with ActiveQt, and in > particular ActiveQt with CMake. > > It seems that as part of the build, qmake is invoking the built executable > with the -dumpidl command line option. Is a post-build step or a cpack > macro > or so needed for that kind of stuff? Has anyone using CMake with ActiveQt > come up against that issue before? How did you solve it? > Take a look at this mail from 8 years ago, it explains all the steps and the rationale and usefulness of each of them: http://lists.trolltech.com/qt-interest/2004-05/thread00936-0.html 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. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake