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

Workaround for conan qmake generator bug which causes failure to build QWT dll #7232

Merged

Conversation

kenfred
Copy link
Contributor

@kenfred kenfred commented Sep 9, 2021

Specify library name and version: qwt/6.1.6

Fixes bug that prevents building shared/DLL library on Window with Visual Studio.
When the conan PR conan-io/conan#9568 is landed, this change will still be compatible with the latest conan version, and also allow the recipe to be useful for earlier conan versions.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@CLAassistant
Copy link

CLAassistant commented Sep 9, 2021

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@ericLemanissierBot
Copy link

I detected other pull requests that are modifying qwt/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@ericLemanissierBot ericLemanissierBot mentioned this pull request Sep 9, 2021
4 tasks
Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
@conan-center-bot

This comment has been minimized.

Copy link
Contributor

@ericLemanissier ericLemanissier left a comment

Choose a reason for hiding this comment

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

Did you test the recipe as it is in this PR ?

@kenfred
Copy link
Contributor Author

kenfred commented Sep 13, 2021

Did you test the recipe as it is in this PR ?

Yes. For good measure, I just tested it again for shared/non-shared and debug/release permutations.

@@ -87,8 +87,15 @@ def _patch_qwt_config_files(self):
qwtbuild += "CONFIG += force_debug_info\n"
tools.save(qwtbuild_path, qwtbuild)

def _patch_qmake_generator_files(self):
# Work around the qmake generator bug (https://github.com/conan-io/conan/pull/9568) which
Copy link
Contributor

@Croydon Croydon Sep 14, 2021

Choose a reason for hiding this comment

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

The PR is now merged. How fast are you able to update your Conan client(s), when it will be released?

Copy link
Member

Choose a reason for hiding this comment

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

Some weeks. We usually wait for a minor (fix) version.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@prince-chrismc looks to be correct.
_patch_qmake_generator_files will not break the new 1.40.1, and will allow this revision to work for previous conan versions as well. If that isn't desirable, we can cancel this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we do ditch this change, we should replace it with:
required_conan_version = ">=1.40.1"

@conan-center-bot
Copy link
Collaborator

All green in build 3 (2117293a4bb849d6201178817eed291f0fb7958e):

  • qwt/6.1.6@:
    All packages built successfully! (All logs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants