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 resources fail if resources have same name #3791

Open
ePirat opened this issue Jun 26, 2018 · 1 comment
Open

Qt resources fail if resources have same name #3791

ePirat opened this issue Jun 26, 2018 · 1 comment

Comments

@ePirat
Copy link
Contributor

ePirat commented Jun 26, 2018

Using the qt module, using resources that have the same name will not work.

For example:

res_files = files(
    'pixmaps/playlist/playlist.svg',
    'pixmaps/playlist/sidebar-icons/playlist.svg')

qt5pre_files = qt5.preprocess(qresources : res_files)

Will fail with:

modules/gui/qt/meson.build:234:0: ERROR:  Tried to create target "qt5-playlist_svg", but a target of that name already exists.
@ePirat
Copy link
Contributor Author

ePirat commented Aug 20, 2018

Actually this is not an issue for VLC anymore, as it turns out I misunderstood how this works and I just had to add the qrc file instead of all resources.
Of course it can still happen if two qrc files in subfolders have the same name but thats a lot more unlikely.

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

No branches or pull requests

2 participants