From m10512067 at yuntech.org.tw Mon Jun 26 08:55:19 2023 From: m10512067 at yuntech.org.tw (=?UTF-8?B?5L2V5piO5ZOy?=) Date: Mon, 26 Jun 2023 16:55:19 +0800 Subject: [Ctk-developers] use ctkVTKVolumePropertyWidget on QT creator has: error: LNK2019 Message-ID: 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: From m10512067 at yuntech.org.tw Tue Jun 27 07:29:15 2023 From: m10512067 at yuntech.org.tw (=?UTF-8?B?5L2V5piO5ZOy?=) Date: Tue, 27 Jun 2023 15:29:15 +0800 Subject: [Ctk-developers] use ctkVTKVolumePropertyWidget on QT creator has: error: LNK2019 In-Reply-To: References: Message-ID: 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 ? 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 *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 > > 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: