QT DCMTK

Third-party non-commercial applications based on the DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Bhushansure
Posts: 2
Joined: Wed, 2018-09-26, 11:52

QT DCMTK

#1 Post by Bhushansure »

Hi, I am new to all , i just want to ask how to add DCMTK as third party library in QT,
Like i have DCMTK source code only which is provided online, as dcmtk compilation is
mostly given for Visual, how to compile it and add it to QT
Thank you in advance.

jcferranti
Posts: 4
Joined: Mon, 2008-09-08, 21:24

Re: QT DCMTK

#2 Post by jcferranti »

Hi, in windows i just add this to the .pro file

INCLUDEPATH += "C:/library/dcmtk/include"
LIBS += "C:/library/dcmtk/lib/libdcmnet.dll.a" \
"C:/library/dcmtk/lib/libi2d.dll.a" \
"C:/library/dcmtk/lib/libdcmdata.dll.a" \
"C:/library/dcmtk/lib/liboflog.dll.a" \
"C:/library/dcmtk/lib/libofstd.dll.a" \

on Linux
INCLUDEPATH += /usr/local/dcmtk/include
LIBS += -L/usr/local/dcmtk/lib -ldcmnet -li2d -ldcmdata -loflog -lofstd -lz -liconv -lcharset


But it depends on the libraries you are going to use

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest