Hi Fabiola,
as I told Marco we are using CMake and do not offer QMake support or "make
install" option, as such you will have to work with the MITK binary tree, where
the headers are distributed across different directories.
I did some digging after Marcos mail and if you do not want to switch to CMake
for whatever reason you can find the necessary include dirs in the CMake
configuration file, which is generated in the MITK directory.
/path-to-MITK-superbuild/MITK-build/MITKConfig.cmake
There you will find commands like
set(MITK_INCLUDE_DIRS "Lots-of-paths")
where you can use "Lots-of-paths" in your own setup as include dirs.
Do note, that this is a rather dirty approach and definitely not the
recommended way. But if you want it quick and dirty it might work for you.
I know I sound somewhat repetitive about the whole CMake thing, but it makes
things a whole lot easier, even for smaller projects. Some helpful guides[1].
[1] http://qt-project.org/quarterly/view/using_cmake_to_build_qt_projects
Regards,
Caspar
Von: Fabiola [mailto:[email protected]]
Gesendet: Montag, 17. Dezember 2012 15:42
An: [email protected]
Betreff: Re: [mitk-users] Just use MITK in QT Creator
Hi Marco,
I understand you so much! I am struggling with the same problem since ages...
to using MITK in an existing (and working) QT project which using ITK an VTK
without any problem.
You can explain so well the problem not like me, maybe Sacha and Caspar can
help us.
Thanks in advance any hint. (Please keep the conversation on the list, I am
waiting so much the solution)
Fabiola
On 12/12/2012 04:06 PM, Marcos wrote:
I was looking through a lot of webs, but... I'm tired.
It should be easier. I guess it is.
I have a Qt Creator project. I was using VTK and ITK, but connecting them is...
complicated. So I was thinking to try MITK.
I've downloaded the last stable release (MITK-2012.09.0-src). I've configured
with ccmake. Then I used make. I tried make install: ok, it doesn't work that
way.
So I have to use a CMakeLists.txt file. I was reading
http://docs.mitk.org/2012.09/BuildInstructionsPage.html
the section "Use MITK in your own project (as a toolkisd
The problem is I already have a .pro file, with another libraries.
I can use VTK and ITK, knowing where the header files (/usr/local/include) and
libraries (/usr/local/lib) are. But in MITK-build folder I can't find the
header files.
Ok, an example: the Step1.cpp file. It includes
<QmitkRenderWindow.h<http://docs.mitk.org/2012.09/QmitkRenderWindow_8h.html>>.
It is at the MITK-src folder, but inside subfolders. I have to look for it. And
the .so files? I find them in MITK-build/bin/
So, my include path is in MITK-src/Modules/... ? and my libs path in
MITK-build/bin?
I don't know.
It would be good to have these things clearer. It's frustrating.
Any suggestions? Thanks in advance.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users