Page MenuHomePhabricator

PluginGenerator and ProjectTemplate tests fail if using Qt 5
Closed, ResolvedPublic

Description

If you build MITK with Qt 5 the plugin generator and the project template tests fail during the configure step with the following error message:

CMake Error at CMakeExternals/MITK.cmake:212 (if):

if given arguments:

  "my_qmake_executable" "AND" "NOT" "my_qmake_executable" "STREQUAL"

Unknown arguments specified

Reason is most likely that the cmake variable MITK_QMAKE_EXECUTABLE does not exist but it is used as argument for the STREQUAL.
(The my_qmake_executable is set to the value QT_QMAKE_EXECUTABLE and is empty)

Looks like we have to migrate these projects to qt 5.

Event Timeline

User kislinsk has pushed new remote branch:

bug-18645-ReactivatePGAndPTTests

[dd9be0]: Merge branch 'bug-18645-ReactivatePGAndPTTests'

Merged commits:

2015-03-19 14:15:05 Stefan Kislinskiy [15376d]
Reactivated PluginGenerator and ProjectTemplate tests.

User kislinsk has pushed new remote branch:

bug-18645-Fix1

[f631f2]: Merge branch 'bug-18645-Fix1'

Merged commits:

2015-03-19 14:55:05 Stefan Kislinskiy [90f7c5]
COMP: Pass CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH to PG and PT tests.