For your everyday image visualization I would recommend to just
download the 2014.10 installer, which gives you a ready-to-go
Workbench with the most commonly used plugins activated. You don’t
have to compile anything in that case.
Yes, for your development you should use the ProjectTemplate. 2014.10
didn’t have Qt 5 support (to be more correct there were a few
**experimental** things), hence: 2014.10 ProjectTemplate -> use Qt 4
(> 4.7.x). Latest unstable ProjectTemplate -> use Qt 5 (Qt 4 if
developing on Mac OS).
Regarding the error you have with USE_Blueberry: We need more
information on your system, versions, and a pasted CMake output of the
error to help you, as it is generally working since some month now for
many many people. :) So I guess it is caused by some misconfiguration.
Note that we will have a new release next week which is why I our
current master should be somewhat stable most of the time. Therfore I
would recommend you to give the latest ProjectTemplate a try. Use Qt 5
in that case and use the official Qt installers from qt.io. Make sure
to specify the correct path to your installed Qt 5 by setting
CMAKE_PREFIX_PATH to the directory which contains the bin folder of
the Qt installation (not the bin directory itself!). If you still want
to use the 2014.10 release and the correct Qt 4 wasn’t found by CMake,
you can change the QT_QMAKE_EXECUTABLE variable to point to the right
installation of Qt 4.
Best,
Stefan
*From:*Gomez, Alberto [mailto:alberto.go...@kcl.ac.uk]
*Sent:* Donnerstag, 16. April 2015 12:54
*To:* mitk-users@lists.sourceforge.net
*Subject:* Re: [mitk-users] Qt version in the template project
So now I have two related problems. I would like to have the MITK
application (for some everyday image visualization) and I also want to
create my own MITK-based app. For the first, I thought the best would
be to build the latest release. For the second, I would like to start
by the project template.
Overall it all comes down to the following question: if I do not
intend to develop MITK itself, but use it and build my own app, shall
I use the latest release, i.e. 2014.10? If so, shall I use Qt4 or Qt5?
More precisely,
1. Building MITK:
I go to [1] which I thought were ther instructions for the latest
release. There it says
You need:
...
3. Qt <http://qt.nokia.com> 4.x if you plan to develop Qt-based
applications (version 4.7 or above is required, Qt 5.x is only
supported experimentally for a very limited number of modules)
...
So does this mean that If I want to use the stable release I should
use qt 4? Because I have downloaded
the MITK-2014.10.0-src.tar.gz file, and it allows me to choose Qt4 or
Qt5. If I use Qt4 it unselects USE_Blueberry because it is not
compatible with Qt4. As a result, I do not get the MITK Workbench
application (which I want) built.
2. Building MITK Project Template:
I downloaded the version you suggested [2] but it is automatically
detecting Qt4 and in the CMake list there is no flag to select the
desired version. So should I just stick to Qt4 here or am I doing
something wrong? I need Qt4 for other stuff so removing from the
system is not an option.
Sorry if these questions are too trivial but I think I need some help
to get started. Thanks a lot for your help!
Alberto
[1] http://docs.mitk.org/2014.10/BuildInstructionsPage.html
[2]https://github.com/MITK/MITK-ProjectTemplate/archive/v2014.10.tar.gz
On 16/04/15 08:37, Kislinskiy, Stefan wrote:
Hi,
BTW the build instructions were just updated a few days ago, especially
regarding Qt 5 (never mind if you are using our last release 2014.10). However,
you must use the new nighlty URL (nightly instead of nightly-qt4) for
developments based on the current master. If you remember where you clicked on
our website to still get to the old documentation, please give us a hint and
we'll fix it, thank you. :)
It is still possible to use Qt 4 by setting the CMake variable
DESIRED_QT_VERSION from 5 to 4. However, we strongly recommend to use Qt 5
unless you are working on Mac OS X. There are currently still Qt 5 related bugs
which make it nearly impossible to use the Workbench on that platform as
intended. Be warned, this is the only reason that we keep Qt 4 portability. As
soon as these issues are resolved, we will completely drop Qt 4 support.
Best,
Stefan
________________________________________
Von: Sascha Zelzer [s.zel...@dkfz-heidelberg.de
<mailto:s.zel...@dkfz-heidelberg.de>]
Gesendet: Mittwoch, 15. April 2015 17:55
An: Rostislav Khlebnikov
Cc:mitk-users@lists.sourceforge.net
<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] Qt version in the template project
Hi,
Rostislav is right, you probably used the tip of the master branch of the
MITK-ProjectTemplate repository. This is synced with the master branch of the
MITK repository.
Unless you explicitly need the development version (master branch), you
should use the MITK 2014.10 release and this link [1] for the
MITK-ProjectTemplate with that release.
The link to the build instructions (with nightly-qt4 suffix) is deprecated
and the new version is here [2] which mentions Qt5. It looks like we missed
changing a reference to the old documentation somewhere.
Best,
Sascha
[1]https://github.com/MITK/MITK-ProjectTemplate/archive/v2014.10.tar.gz
[2]http://docs.mitk.org/nightly/BuildInstructionsPage.html
On 04/15/2015 05:00 PM, Rostislav Khlebnikov wrote:
Hi Alberto,
I believe you're using the latest release 2014.10. So you will need the
project template synced with this version. One way to get it is to find the
commit that mentions this release version and use that as your project template.
Rostislav.
On 15 Apr 2015, at 15:09, "Gomez, Alberto" <alberto.go...@kcl.ac.uk
<mailto:alberto.go...@kcl.ac.uk><mailto:alberto.go...@kcl.ac.uk>
<mailto:alberto.go...@kcl.ac.uk>> wrote:
Dear all,
I am trying to get started with building my first MITK application. I am
confused about the QT version though. In am using Ubuntu 14.04 64b
In the website here<http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html#BuildInstructions_Prerequisites>
<http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html#BuildInstructions_Prerequisites> it says QT 4.x
preferred, however when I download the tarbal from here<https://github.com/MITK/MITK-ProjectTemplate>
<https://github.com/MITK/MITK-ProjectTemplate> and run CMake, it seems to be looking for QT5. In
here<https://github.com/MITK/MITK-ProjectTemplate> <https://github.com/MITK/MITK-ProjectTemplate> it actually
says QT 5.0 or newer, so I wonder if it is still possible to build using 4.7+ in linux? Is it "advisable" to use
Qt5.0 instead?
Thanks,
Alberto
--
Dr Alberto Gomez
Research Associate
Department of Biomedical Engineering
King's College London
020 7188 7188 ext 50871
4th North Wing
St Thomas' Hospital
SE1 7EH London, UK
________________________________
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
<mailto:mitk-users@lists.sourceforge.net><mailto:mitk-users@lists.sourceforge.net>
<mailto:mitk-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net <mailto:mitk-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mitk-users
--
Dr Alberto Gomez
Research Associate
Department of Biomedical Engineering
King's College London
020 7188 7188 ext 50871
4th North Wing
St Thomas' Hospital
SE1 7EH London, UK