-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add Qt integration to sentry #5440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could add
if self.options.qt:
self.requires("qt/....")
I detected other pull requests that are modifying sentry-native/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. |
Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
@ericLemanissier I personnaly don't use the Qt recipe from CCI yet (I'd love to do so but it isn't very clear for me how to do it, especially with my local environment and Qt Creator). Won't this cause trouble for my setup ? |
If you require another qt recipe in your recipe ( If you are using a qt coming from somewhere else than conan (manually built, official qt binary, or provided by some other package manager), it's true that it could be a problem. |
This is quite out of topic but I'll be happy to know how people use the CCI qt recipe with Qt Creator for example. Do I need to run conan and then add the kit manually ? |
This comment has been minimized.
This comment has been minimized.
The recipe is missing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please clarify if Qt integration requires Qt dependency to build/run. I am not familiar with sentry, so it's hard to judge for me right away.
(e.g. I can imagine it may not require an actual Qt if it only generates some headers containing #include <QtWidgets>
or similar code)
The recipe does indeed need Qt to build if the option is set https://github.com/getsentry/sentry-native/blob/master/CMakeLists.txt#L462-L475 Unfortunately when trying to add the requirement, I pushed the update recipe with qt option set to true to share my issue. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In my opinion the CCI Qt recipe is not a full drop in replacement for the official Qt binaries (mostly qml related). So I wouldn't impose Qt as a requirement. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
from that I see, it reports merge conflicts which don't exist (at least GitHub doesn't report them):
|
@MartinDelille , please, push an empty commit to your branch:
|
All green in build 19 (
|
} | ||
default_options = { | ||
"shared": False, | ||
"fPIC": True, | ||
"backend": "inproc", | ||
"transport": "curl" | ||
"transport": "curl", | ||
"qt": False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is qt integration by default useful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but at the expense of current users who do no require it
https://docs.sentry.io/platforms/native/guides/qt/#install
Looks off by default from upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildroot has some kind of ci system where it builds random combinations to find regressions.
Something similar where non-default option combinations are built would be useful.
* Add Qt integration to sentry * Update recipes/sentry-native/all/conanfile.py Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com> * Add qt requirement * Set temporary qt to True * Add openssl/1.1.1j requirement * Find conan qt patch * Remove qt requirement * Restore qt requirement and simpler patch * Handle older version * Specific patch for 0.4.7 * Add missing patch * Move patch to build() * Bump openssl version to 1.1.1k Co-authored-by: Chris Mc <prince.chrismc@gmail.com> * touch Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Specify library name and version: sentry/0.4.9
See the doc here: https://docs.sentry.io/platforms/native/guides/qt/
conan-center hook activated.