Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deactivate Modeler by default, since it is deprecated #972

Merged
merged 3 commits into from
Apr 4, 2019

Conversation

tgaugry
Copy link
Contributor

@tgaugry tgaugry commented Mar 27, 2019


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

@tgaugry tgaugry added the pr: status to review To notify reviewers to review this pull-request label Mar 27, 2019
@@ -7,9 +7,7 @@ if(NOT Qt5Core_FOUND)
set(SOFA_HAVE_QT_LIBRARIES 0)
endif()

if(SOFA_HAVE_QT_LIBRARIES)
sofa_add_application(Modeler Modeler OFF)
endif()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? I would have kept the condition.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did too at first, but it's a bit weird to do a check required for activation to then deactivate the thing. If the modeler require qt, then it should check for qt itself.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the modeler require qt, then it should check for qt itself.

I agree with that but you can't just remove the condition then, you should move it to Modeler's CMakeLists (and fail or warn+return if false).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modeler does find_package(Qt5 COMPONENTS Core QUIET)
Maybe just change that to REQUIRED ?

Copy link
Contributor

@guparan guparan Mar 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with that 👍

@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Apr 3, 2019
@hugtalbot hugtalbot added the pr: clean Cleaning the code label Apr 3, 2019
@guparan guparan merged commit c8f1bdd into sofa-framework:master Apr 4, 2019
@tgaugry tgaugry deleted the deactivate-modeler branch April 9, 2019 14:49
@guparan guparan added this to the v19.06 milestone Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: clean Cleaning the code pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants