commontk / CTK

A set of common support code for medical imaging, surgical navigation, and related purposes.
https://commontk.org
Apache License 2.0
855 stars 490 forks source link

Build Problem #1146

Closed XXOO9 closed 11 months ago

XXOO9 commented 11 months ago

i meet a problem when i compile CTK with CMake-gui, my configuration shows below( Qt 5.9.6 win10 msvc2015_64 ): image

after i pressed Configure button, as screen capture shows, there is no sql module required, but when i compiled the solution generated by CMake-gui, an compile error happend image

some one help me, please!

jcfr commented 11 months ago

Enabling CTK_ENABLE_PluginFramework is expected to require the Sql Qt module.

Inspecting the code:

https://github.com/commontk/CTK/blob/b9ef9b8aa1938676ce0ac105a3deb0e1bfc235a1/CMake/ctkMacroSetupQt.cmake#L62-L67

... revealed that the test was using Libs/PluginFramework instead of CTK_LIB_PluginFramework which may explain what you are observing.