Hi guys,
I am new in the DCMTK environment and I need some help configuring the storescp (dcmnet) module in Visual Studio 2012 (v11) and Qt. I've built the files using CMake, but I am not sure how to include the storescp (dcmnet) module in a new Qt project. Could someone please explain what I need to do in order to get the module working with my project?
I've read many articles about this subject, but I cannot find a clear explanation..
Thank you in advance
Engo
How to use storescp (dcmnet) with Qt framework?
Moderator: Moderator Team
-
- Posts: 1
- Joined: Wed, 2015-11-04, 09:40
Re: How to use storescp (dcmnet) with Qt framework?
Hi,
the storescp app is meant to be a self-contained application. You can use the CMake script to compile a storescp executable that you can than call from Qt using e.g. QProcess and the command line commands described here: http://support.dcmtk.org/docs/storescp.html
If you want to have more fine-grained control, you should take a look at the DcmSCP class http://support.dcmtk.org/docs-snapshot/classDcmSCP.html and implement your own C-STORE SCP.
Regards,
Robert
the storescp app is meant to be a self-contained application. You can use the CMake script to compile a storescp executable that you can than call from Qt using e.g. QProcess and the command line commands described here: http://support.dcmtk.org/docs/storescp.html
If you want to have more fine-grained control, you should take a look at the DcmSCP class http://support.dcmtk.org/docs-snapshot/classDcmSCP.html and implement your own C-STORE SCP.
Regards,
Robert
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: How to use storescp (dcmnet) with Qt framework?
So by Qt project, you mean that you are using qmake? Sorry, I don't know about that, as I always used CMake. However, in general, you will have to set include paths and library locations in your Qt project files that point to your compiled DCMTK and select the required libraries that need to be linked. You may have a look at this graph to understand DCMTK's library dependencies.
Re: How to use storescp (dcmnet) with Qt framework?
I've used CMake to generate the files. What files do I need to include into my Qt project in order to setup a scp server? Do I need to create a DcmSCP instance?Jan Schlamelcher wrote:So by Qt project, you mean that you are using qmake? Sorry, I don't know about that, as I always used CMake. However, in general, you will have to set include paths and library locations in your Qt project files that point to your compiled DCMTK and select the required libraries that need to be linked. You may have a look at this graph to understand DCMTK's library dependencies.
Re: How to use storescp (dcmnet) with Qt framework?
I can't rid of multiple errors. Could you please take a look at my question (StackOverflow):
http://stackoverflow.com/questions/3364 ... qt-creator
http://stackoverflow.com/questions/3364 ... qt-creator
Who is online
Users browsing this forum: No registered users and 1 guest