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. -- 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