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

Fix symbols conflict on static build #212

Closed
wants to merge 2 commits into from
Closed

Fix symbols conflict on static build #212

wants to merge 2 commits into from

Conversation

ilya-fedin
Copy link

Fixes #208

@@ -777,6 +777,7 @@ QSize XdgIconLoaderEngine::actualSize(const QSize &size, QIcon::Mode mode,
return {0, 0};
}

#ifndef QTXDG_STATIC_BUILD
Copy link
Member

Choose a reason for hiding this comment

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

@ilya-fedin How will be QTXDG_STATIC_BUILD toggled ?

Copy link
Author

Choose a reason for hiding this comment

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

Since upstream cmake files have only SHARED variant, it could be defined in custom cmake files in a project that want to link with libqtxdg statically

Copy link
Member

Choose a reason for hiding this comment

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

Making have an STATIC variant is really easy, CMake supports it. Will do it.
Pushing it to this branch, Ok ?

Copy link
Author

Choose a reason for hiding this comment

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

Ok

@luis-pereira
Copy link
Member

@ilya-fedin Can you rebase ?

@ilya-fedin
Copy link
Author

Rebased

@luis-pereira
Copy link
Member

@ilya-fedin See #215

@ilya-fedin
Copy link
Author

I'm not interested in this anymore

@ilya-fedin ilya-fedin closed this Oct 25, 2020
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.

Conflicts with QtGui symbols on static link
2 participants