[CMake] Problems with CMake and static Qt plugins

dcrespol dcrespo at gmail.com
Mon Oct 29 17:57:14 EDT 2012


Stephen Kelly-2 wrote
> Use 
> 
>  add_definitions(-DQT_STATICPLUGIN)
> 
> when building your plugin

Perfect. Now it works. For some reason I was using that line in the
application build that links to the plugin. Thanks a lot!

-Daniel



--
View this message in context: http://cmake.3232098.n2.nabble.com/Problems-with-CMake-and-static-Qt-plugins-tp7336619p7582210.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list