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.
QT DCMTK
Moderator: Moderator Team
-
- Posts: 4
- Joined: Mon, 2008-09-08, 21:24
Re: QT DCMTK
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
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
Who is online
Users browsing this forum: No registered users and 0 guests