-
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 qcustomplot/2.1.0 #6029
add qcustomplot/2.1.0 #6029
Conversation
958b81f
to
85928cb
Compare
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.
If you try to make gui app with conan-qt-static it will fail with the same problem |
@Jihadist can you try to use |
@ericLemanissier nope because generated cmake files don't provide direct path to plugin directory like this |
can you please send the full log with |
@Jihadist, did it work for you for the old bincrafters recipe? |
I've worked on this 2 weeks ago, but it makes qt recipe very complex: https://github.com/SpaceIm/conan-center-index/blob/fix/qt6-components/recipes/qt/6.x.x/conanfile.py Honestly, it would be easier to turn shared option of qt recipe to |
@SpaceIm, there is no PR for it yet? |
+10, I asked this for years. I acknowledge that it comes with its own set of problems because static dependencies are then embedded in the shared library, and they cannot be overridden without rebuilding qt, but that's less bad than the current situation |
I am getting an error undefined reference to `qt_static_plugin_QXcbIntegrationPlugin()' Should I add something to CMakeLists to make it work? |
I mentioned it before #6029 (comment) |
I found the solution but maybe qt5/6 recipe should be a bit expanded. You can found the QXcbIntegrationPlugin solution here https://github.com/Jihadist/StaticQtPlugin/blob/master/CMakeLists.txt#L58 but it's dirty solution. Telegram-desktop uses custom linkage scheme against static qt so they solved same problem https://github.com/desktop-app/cmake_helpers/blob/6602ed1ea085901fc5b556c4df8f6e3a0b7e52b3/external/qt/CMakeLists.txt#L234 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@SpaceIm can you retrigger this PR, to see if the changes made in qt recipe this summer improved the situation ? |
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Let's try again, I don't know whether qt recipe is fixed. |
Isn't it because the CI is headless ? |
Maybe, but why does it work in macOS & Windows agents? |
This comment has been minimized.
This comment has been minimized.
some missing dll in Debug build of qt? |
I've tested on Ubuntu, and indeed test package runs fine, so issue in CI likely due to headless. |
This comment has been minimized.
This comment has been minimized.
yep, |
glib is disabled in qt if not Linux/FreeBSD, but it's not disabled in harfbuzz. So I guess that #9739 indirectly broke current expectation in qt binaries. |
The existing shared build of qt have an old version of harfbuzz statically linked, which linked to shared glib/2.70.1 (on windows). |
There is no other solution than generating new packages of qt recipe. |
if you can upgrade to new |
the fact that default builds of windows glib are now static is the cause of the failure: every existing Windows binaries of all recipes (requiring glib) currently on conan-center are linking dynamically to glib, but the default glib is now static on windows, so basically all binaries requiring glib have to be regenerated, or there will be an error as soon as glib is overridden to a version >= 2.71.1 |
qt 6 binaries have been fixed with #9782. Can we retry ? |
it seems like package_id model is either too flawed, or too strict, and it's hard to find the balance
might be also worth checking conan-io/conan#9712 |
I agree with all your message, except your last sentence |
yes, this why #8987 would be a solution to avoid these kind of issues |
yes, it's a generic problem, that couldn't be fixed in conan 1.x unfortunately, and it affects all the recipes (with at least one dependency with |
All green in build 7 (
|
Specify library name and version: lib/1.0
closes #5983
Test package fails at runtime when qt is static (but not if shared, except on Linux). If someone knows how to make it work.
conan-center hook activated.