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

qt/5.x.x: Requires main even for shared lib #7914

Open
Fettpet opened this issue Nov 1, 2021 · 1 comment
Open

qt/5.x.x: Requires main even for shared lib #7914

Fettpet opened this issue Nov 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Fettpet
Copy link

Fettpet commented Nov 1, 2021

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: qt/5.15.2
  • Operating System+version: Windows
  • Compiler+version: Visual Studio
  • Docker image: every
  • Conan version: every
  • Python version: every

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[conf]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

Setup a project to build a dll. The dll depends on qt5. The dll has no main function. Because of line 882 + 883 each artefact needs a main function.

Expectations

I can include the qt5 recept without the requirements to have a main function. This approach would make the workaround of QWT useless.

@Fettpet Fettpet added the bug Something isn't working label Nov 1, 2021
@ericLemanissier
Copy link
Contributor

I don't understand which problem you have currently. Could you please send a full log of a failure, which the conanfile and cmakelists.txt files used ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants