[Ctk-developers] use ctkVTKVolumePropertyWidget on QT creator has: error: LNK2019
何明哲
m10512067 at yuntech.org.tw
Tue Jun 27 07:29:15 UTC 2023
Hi Andras
Thanks for your reply,
this Issue is only happens when I use ctkvtkwidget or
ctkVTKVolumePropertyWidget
On the contrary, I don't have these problems when I use ctkwidgets ex:
ctkRangewidget
By the way, my VTK version is 9.1, Could this be the cause of the issue?
Andras Lasso <lasso at queensu.ca> 於 2023年6月27日 週二 上午12:10寫道:
> CTK is intended to be used with CMake. If you use qmake then I’m afraid
> you need to figure out a solution by yourself.
>
>
>
> Andras
>
>
>
> *From:* Ctk-developers <ctk-developers-bounces at public.kitware.com> *On
> Behalf Of *???
> *Sent:* Monday, June 26, 2023 4:55 AM
> *To:* ctk-developers at public.kitware.com
> *Subject:* [Ctk-developers] use ctkVTKVolumePropertyWidget on QT creator
> has: error: LNK2019
>
>
>
> You don't often get email from m10512067 at yuntech.org.tw. Learn why this
> is important <https://aka.ms/LearnAboutSenderIdentification>
>
> Hi All
>
>
>
> I am New in CTK,
>
> I try to integrate CTK in my QT project and import
> 1.)CTKVisualizationVTKCore
> 2.)CTKVisualizationVTKWidgets
> 3.)CTKVisualizationVTKWidgetsPlugins in my .pro file
> but the ISSUE LNK2019: "__declspec(dllimport) public: __cdecl
> ctkVTKVolumePropertyWidget is still happening
>
> It seems that a certain .lib is missing. Is my inference correct?
> Or what steps have I missed? Please give me some advice? Thank you
>
> here is my .pro file
> #CTK
> INCLUDEPATH += $$PWD/thirdparty/CTK/include/ctk-0.1
> DEPENDPATH += $$PWD/thirdparty/CTK/include/ctk-0.1
> #CTK
> win32:CONFIG(release, debug|release): LIBS +=
> -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKCore -lCTKWidgets -lCTKDummyPlugin
> -lCTKCommandLineModulesCore -lCTKWidgetsPlugins
>
> win32:CONFIG(release, debug|release): LIBS +=
> -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKVisualizationVTKCore
> -lCTKVisualizationVTKWidgets -lCTKVisualizationVTKWidgetsPlugins
>
> win32:CONFIG(release, debug|release): LIBS +=
> -L$$PWD/thirdparty/CTK/lib/ctk-0.1 -lCTKPluginFramework
> -lCTKImageProcessingITKCore -lCTKCommandLineModulesFrontendQtGui
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20230627/ef076a71/attachment.htm>
More information about the Ctk-developers
mailing list