[CMake] automoc autorcc

2015-01-24 Thread Norbert Pfeiler
and potentially be better than them. Is there something i’m missing? Regards, Norbert Pfeiler. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] automoc autorcc

2015-01-29 Thread Norbert Pfeiler
part of the original design of the automoc feature. Maybe it could > be done better, but as far as I know, no one is working on it. Ok, sad to hear. Best, Norbert. 2015-01-29 21:26 GMT+01:00 Stephen Kelly : > Norbert Pfeiler wrote: > > > Hello, > > i’m curious about 2 thin

Re: [CMake] automoc autorcc

2015-01-30 Thread Norbert Pfeiler
> > Ok. In that case you must be doing something different to the testcase: > http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e1c359fe9 > If you have a http://sscce.org/ please add it to > http://public.kitware.com/Bug/view.php?id=15074 The issue report you linked indicates that the fix

Re: [CMake] Mixed linking

2015-02-05 Thread Norbert Pfeiler
Hey, to build a static qt executable for windows you may be interested in using msys2. It offers a prepackaged static qt5 with patches for static linking with cmake (as the official files are a bit broken for mingw). Currently you have to define »QT_STATIC« and explicitly include your required plu

Re: [CMake] Mixed linking

2015-02-06 Thread Norbert Pfeiler
> > But I just don't know how to include the plugins. Actually, I always get > the error about the platform plugin (cocoa in my case). Any tips ? For Windows it’s like this: #if defined(Q_OS_WIN) && defined(QT_STATIC) #include Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) #endif Best, Norbert.

Re: [CMake] Mixed linking

2015-02-06 Thread Norbert Pfeiler
> > Norbert Pfeiler wrote: > > Currently you have to define »QT_STATIC« > You shouldn't need to do this. If you use MSYS2's > mingw-w64-{i686,x86_64}-qt5-static then that will be defined for you. I have both *-qt5 (for dev) and *-qt5-static (for deploy) installe