Hi,
I have created a new MITK project using MitkPluginGenerator as it is
described in MITK docs NewPluginPage.html#NewPluginWithProject. I have
used the command
<my_path_to_MITK>/MITK-superbuild/MITK-build/bin/MitkPluginGenerator -
-plugin-symbolic-name org.mycompany.myplugin --view-name "My View" -
-project-name "MyPruebaPrueba" --project-app-name "MyAppDos" --out-dir
testproject

After project generation I have used cmake-gui to configure and to
generate linux makefile. The project is compiled and executed from
console properly.
When I load the project in QtCreator there are no problems to execute
cmake, to compile and to run the project from QtCreator. But in the
QtCreator projects browser does not appear the source directory
Apps/MyApp. Using other of my projects, that uses cmake but does not
use MITK, I have observed that QtCreator does not show directories with
composed path, that is, cmake command add_subdirectory(Apps/MyApp) in
main CMakeLists.txt does not make QtCreator to show the path in its
projects browser. I have to split the path into two files: in main
CMakeLists.txt I write add_subdirectory(Apps) and in
Apps/CMakeLists.txt I write add_subdirectory(MyApp). Then Apps and
MyApp are displayed in QtCreator projects browser. However this
strategy does not work for my MITK project, I can compile and run the
project but QtCreator doen not show Apps and MyApp directories.
My Debian 8.1 uses QtCreator 3.4.1 and Qt 5.4.2 and I use MITK
2015.5.99- compiled against Qt 5.3.2. I have set
MyProject_USE_SUPERBUILD option ON and OFF getting the same results.

Any help could be appreciated, best regards
-- 
,.....................................,................................,
: Jose Manuel Cuadra Troncoso         : Email: jmcua...@dia.uned.es    :
: Dpto. de Inteligencia Artificial    : Tel:  (+34) 91-398-7144        :
: Univ. Nac. de Educacion a Distancia : Fax:  (+34) 91-398-9382        :
: Juan del Rosal, 16 - 3ยช             :                                :
: E-28040 Madrid       SPAIN          : http://www.ia.uned.es/~jmcuadra:
'.....................................:................................'


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to