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

qt6Packages.qtools - binaries are in .dev output #202622

Closed
peterhoeg opened this issue Nov 24, 2022 · 3 comments · Fixed by #202625
Closed

qt6Packages.qtools - binaries are in .dev output #202622

peterhoeg opened this issue Nov 24, 2022 · 3 comments · Fixed by #202625

Comments

@peterhoeg
Copy link
Member

Describe the bug

qt6Packages.qttools contains a number of tools, that are also useful outside of package building. I am specifically thinking about qdbus and qdbusviewer.

In qt5, they are part of qttools.bin but with qt6, they are in qttools.dev which means bringing them into your environment causes a long list of other .dev dependencies to be brought in.

Cc: @NickCao

Reference: #202293

@NickCao
Copy link
Member

NickCao commented Nov 24, 2022

I found that these two kind of tools are declared in cmake as qt_internal_add_app or qt_internal_add_tool, there must be a way to programmatically separate them.

@NickCao
Copy link
Member

NickCao commented Nov 24, 2022

The current behavior is due to us unconditionally moving $out/bin to $dev/bin, while in qt-5 only the devtools are cherry picked:

for dir in bin libexec mkspecs

@NickCao
Copy link
Member

NickCao commented Nov 24, 2022

Also partly due to my cmake patch determining that all directory ending in bin should go to the dev output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants