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

Add Qt integration to sentry #5440

Merged
merged 15 commits into from
May 25, 2021
5 changes: 4 additions & 1 deletion recipes/sentry-native/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ class SentryNativeConan(ConanFile):
"fPIC": [True, False],
"backend": ["none", "inproc", "crashpad", "breakpad"],
"transport": ["none", "curl", "winhttp"],
"qt": [True, False],
}
default_options = {
"shared": False,
"fPIC": True,
"backend": "inproc",
"transport": "curl"
"transport": "curl",
"qt": False,
Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Contributor

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.

}

_cmake = None
Expand Down Expand Up @@ -73,6 +75,7 @@ def _configure_cmake(self):
self._cmake.definitions["SENTRY_ENABLE_INSTALL"] = True
self._cmake.definitions["SENTRY_TRANSPORT"] = self.options.transport
self._cmake.definitions["SENTRY_PIC"] = self.options.get_safe("fPIC", True)
self._cmake.definitions["SENTRY_INTEGRATION_QT"] = self.options.get_safe("qt", False)
MartinDelille marked this conversation as resolved.
Show resolved Hide resolved
self._cmake.configure()
return self._cmake

Expand Down