Hi,

I'm trying to build a fresh clone of MITK (tag v2014.03 and master) against
Qt5 using

ccmake -DCMAKE_PREFIX_PATH=~/Qt/5.2.1/gcc_64 -DCMAKE_BUILD_TYPE=Release
-DDESIRED_QT_VERSION=5 ..

but the MITK-Configure step produces the errors

CMake Error at
/home/morency/Qt/5.2.1/gcc_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:278
(target_link_libraries):
  Attempt to add link library "Qt5::Core" to target "MitkQt4Qt5TestModule"
  which is not built in this directory.
Call Stack (most recent call first):
  CMake/PackageDepends/MITK_Qt5_Config.cmake:2 (qt5_use_modules)
  CMake/mitkFunctionUseModules.cmake:158 (include)
  CMake/mitkMacroCreateModuleTests.cmake:57 (mitk_use_modules)
  Modules/Qt4Qt5TestModule/Testing/CMakeLists.txt:1
(MITK_CREATE_MODULE_TESTS)


CMake Error at
/home/morency/Qt/5.2.1/gcc_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:278
(target_link_libraries):
  Attempt to add link library "Qt5::Test" to target "MitkQt4Qt5TestModule"
  which is not built in this directory.
Call Stack (most recent call first):
  CMake/PackageDepends/MITK_Qt5_Config.cmake:2 (qt5_use_modules)
  CMake/mitkFunctionUseModules.cmake:158 (include)
  Modules/Qt4Qt5TestModule/Testing/CMakeLists.txt:4 (mitk_use_modules)


-- Checking to see if CXX compiler accepts flag -Wno-deprecated-declarations
-- Checking to see if CXX compiler accepts flag
-Wno-deprecated-declarations - yes
CMake Warning at CMake/mitkFunctionUseModules.cmake:134 (message):
  Module MitkIpPicSupport is deprecated since 2013.12
Call Stack (most recent call first):
  CMake/mitkMacroCreateModuleTests.cmake:57 (mitk_use_modules)
  Modules/IpPicSupport/Testing/CMakeLists.txt:1 (MITK_CREATE_MODULE_TESTS)


CMake Warning at CMake/mitkFunctionUseModules.cmake:134 (message):
  Module MitkExt is deprecated since 2014.03
Call Stack (most recent call first):
  CMake/mitkMacroCreateModuleTests.cmake:57 (mitk_use_modules)
  Modules/Ext/Testing/CMakeLists.txt:1 (MITK_CREATE_MODULE_TESTS)


I'm using Qt 5.2.1 on Ubuntu 12.10 x86_64. Does anyone know how to fix this?

Thanks,

-- 
Félix C. Morency, M.Sc.
Plateforme d’analyse et de visualisation d’images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to