-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversation
@@ -777,6 +777,7 @@ QSize XdgIconLoaderEngine::actualSize(const QSize &size, QIcon::Mode mode, | |||
return {0, 0}; | |||
} | |||
|
|||
#ifndef QTXDG_STATIC_BUILD |
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.
@ilya-fedin How will be QTXDG_STATIC_BUILD
toggled ?
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.
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
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.
Making have an STATIC variant is really easy, CMake supports it. Will do it.
Pushing it to this branch, Ok ?
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.
Ok
@ilya-fedin Can you rebase ? |
To avoid symbol conflict with Qt
Rebased |
@ilya-fedin See #215 |
I'm not interested in this anymore |
Fixes #208