Notes |
|
(0018744)
|
Alex Neundorf
|
2009-12-09 14:42
|
|
I don't think I'll fix this.
This is hard to do with pure cmake script.
The good solution for this is to take automoc4 from kdesvn/automoc/, port it from Qt to plain STL and integrate this into cmake.
Alex |
|
|
(0018989)
|
Alex Neundorf
|
2009-12-23 12:56
|
|
|
|
(0036165)
|
Clinton Stimpson
|
2014-06-12 08:42
|
|
Thanks! Can you also make a test for this? |
|
|
(0036545)
|
Clinton Stimpson
|
2014-08-04 11:07
|
|
|
|
(0036546)
|
Clinton Stimpson
|
2014-08-04 11:10
|
|
|
|
(0036552)
|
Clinton Stimpson
|
2014-08-05 09:48
|
|
Reopening because the testing still needs work, and the commits were reverted.
Feedback from Stephen Kelly:
Your topic changes the Qt4And5Automoc test in an undesirable way. The
point of the test is to run when both are available.
I recommend you create a new unit test for your feature and consider this:
cmake{master}$ git grep QT_TEST_VERSION Tests/
Tests/CMakeLists.txt:
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=5
Tests/CMakeLists.txt:
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=5
Tests/CMakeLists.txt:
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=4
Tests/CMakeLists.txt:
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE} -DQT_TEST_VERSION=4
Tests/QtAutoUicInterface/CMakeLists.txt:if (QT_TEST_VERSION STREQUAL 4)
Tests/QtAutoUicInterface/CMakeLists.txt: if (NOT QT_TEST_VERSION
STREQUAL 5)
Tests/QtAutogen/CMakeLists.txt:if (QT_TEST_VERSION STREQUAL 4)
Tests/QtAutogen/CMakeLists.txt: if (NOT QT_TEST_VERSION STREQUAL 5)
and after I modified the test to require both Qt4 and Qt5 he says:
Wouldn't it make more sense to extend the QtAutomoc test instead? That
is for testing QtAutomoc generally while Qt4And5Automoc is specifically
about testing in the presence of both Qt 4 and 5. Your patch dilutes
that test to also do more-general testing. Wouldn't it make more sense
to extend the QtAutomoc test instead?
Thanks,
Steve. |
|
|
(0036554)
|
Clinton Stimpson
|
2014-08-05 10:57
|
|
Actually, it makes sense to extend the "QtAutogen" test, not "QtAutomoc" which doesn't exist, or the "Qt4AndQt5Automoc" test. |
|
|
(0036567)
|
Lode Leroy
|
2014-08-07 04:38
|
|
added patch with updated tests |
|
|
(0041626)
|
Kitware Robot
|
2016-06-10 14:27
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|