Re: [Development] qt6_add_shaders and static libraries

2023-09-14 Thread Ranen Ghosh via Development
le paths. >> If it doesn't, i suspect you're doing something special in your project. >> Are you perhaps adding the shadert to a static library in one project, >> and then trying to reuse the static library in a different project? >> >> >> > On 13. Se

Re: [Development] qt6_add_shaders and static libraries

2023-09-13 Thread Ranen Ghosh via Development
in your project. > Are you perhaps adding the shadert to a static library in one project, and > then trying to reuse the static library in a different project? > > > > On 13. Sep 2023, at 00:10, Ranen Ghosh via Development < > development@qt-project.org> wrote: > > &

Re: [Development] qt6_add_shaders and static libraries

2023-09-12 Thread Ranen Ghosh via Development
Hi, I've found that there's a cpp file, and then an object file, generated with the name qrc_. And the object file includes the symbol qInitResources_ (See https://doc.qt.io/qt-6/qt-add-resources.html for where comes from, as qt6_add_shaders calls qt6_add_resources) So the only remaining issue i

[Development] qt6_add_shaders and static libraries

2023-09-12 Thread Ranen Ghosh via Development
Hi, How does one use qt6_add_shaders in static libraries? When running an application that uses said static library, we get this error messages like this Failed to find shader "://shader.vert.qsb" We're using static linking because the target platform is iOS. On Windows where we use dynamic