[ITK] [ITK-users] Integration ITK with Qt Creator

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Wed Feb 18 12:24:37 EST 2015


Dear Francisco,
additionally to what Matt has posted, ITK does not rely on any particular
IDE; you can use virtually any IDE of your choice.

QtCreator may be one of them.

If you work in Windows, as apparently you do, a popular choice would be
Microsoft's Visual Studio [1]. You can download the Express edition.

If you work in OS X, Xcode [2] is a good option.

I'm not an expert in IDEs for Linux systems, but a quick search gives the
following options (don't whether they would all be valid for a particular
distribution): NetBeans [3] Code::Blocks [4], CodeLite [5] or KDevelop [6].

BTW, using CMake will save you a lot of time and headaches.

HTH,
JON HAITZ

[1]
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
[2] https://developer.apple.com/xcode/
[3] https://netbeans.org/features/cpp/
[4] http://www.codeblocks.org/
[5] http://codelite.org/
[6] https://www.kdevelop.org/



On 18 February 2015 at 18:07, Matt McCormick <matt.mccormick at kitware.com>
wrote:

> Hi Francisco,
>
> You will want to use QtCreator with CMake.  QtCreator has support for
> CMake.  See, for example:
>
>   http://doc.qt.digia.com/qtcreator-2.2/creator-project-cmake.html
>
> HTH,
> Matt
>
> On Wed, Feb 18, 2015 at 12:03 PM, Francisco Lopez de la Franca <
> franciscolopezdelafranca at gmail.com> wrote:
>
>> Hi.
>> I went to the Qt project web page. Then to the Download link and
>> downloaded the Qt Community release that includes Qt Creator and, I think,
>> Qt libraries as well because Qt Creator detects automatically the Qt 5.4.0
>> MinGw 32-bit KIT.
>> In fact, if I run "qmake -version ", then I get:
>>
>> C:\Qt\5.4\mingw491_32\bin>qmake -version
>>
>> QMake version 3.0
>> Using Qt version 5.4.0 in C:/Qt/5.4/mingw491_32/lib
>>
>>
>> By an IDE I meant an environment with an Editor, Compiler, Debugger, etc.
>> And so far, I've been working with a simple text editor, compiling from a
>> DOS prompt and not debugging but tracing with "cout" commands. That's why I
>> needed to find a real IDE like Eclipse or something like that, and try to
>> work with ITK in the best comfortable way, like I do when programming in
>> Java.
>>
>> So, is it possible to program with ITK within an  IDE and not to worry
>> about CMake configuration and shells/DOS prompts to compile and, besides,
>> to have a debugger?
>>
>> Thanks a lot.
>> Best regards,
>> /Francisco
>>
>> 2015-02-18 12:40 GMT+01:00 Jon Haitz Legarreta <jhlegarreta at vicomtech.org
>> >:
>>
>>> Dear Francisco,
>>> I assume you mean "with no GUI" when you say "with no IDE".
>>>
>>> Note that Qt Creator is just a tool of Qt to facilitate the task of
>>> creating GUIs, but in order to actually have a GUI for your application,
>>> you will need to download Qt itself [1]. You can download the binaries, and
>>> thus you can avoid any complication derived from building the sources.
>>>
>>> Assuming you are using CMake to generate your project, in order to build
>>> your application with Qt as the GUI library, you should include Qt among
>>> the libraries to look for and link with in your CMakeLists [2].
>>>
>>> HTH,
>>> JON HAITZ
>>>
>>>
>>> [1] https://qt-project.org/
>>> [2] http://www.cmake.org/Wiki/CMake/Tutorials/Qt
>>>
>>>
>>>
>>> On 18 February 2015 at 12:17, Francisco Lopez de la Franca <
>>> franciscolopezdelafranca at gmail.com> wrote:
>>>
>>>> Hi.
>>>> I've been using recently ITK but with no IDE, and I've been recommended
>>>> to use Qt platform.
>>>> I've downloaded Qt Creator but I don´t find the documentation and the
>>>> way to integrate ITK with it.
>>>>
>>>> That's why I post this message, in order to know if anyone has any
>>>> reference or guide explaining how to do it.
>>>>
>>>> Thank you very much in advance.
>>>>
>>>> Kind regards,
>>>> /Francisco
>>>>
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/products/protraining.php
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/insight-users
>>>>
>>>>
>>>
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150218/01df33b6/attachment-0001.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list