[Qbs] Application with QML_ELEMENT in library, problem with plugins.qmltypes

Stéphane Fabry sf at xris.eu
Tue May 14 10:11:55 CEST 2024


I want QtCreator to load both app.qmltypes and all plugins.qmltypes of
the dependent libraries (this small project i have only one).

-> i took the "plugins.qmltypes" located in
"Release_Desktop__6bebb707edc597ff\carlib.83bede55" and copy paste
manually in the app build dir
("Release_Desktop__6bebb707edc597ff\app.7d104347") and there it is
working.

But i have no clue on how to ask the library to build/install/deploy
its own qmltypes in the build directory of the application :/

STÉPHANE FABRY , C.O.O. & Software Manager 

T: +32 4 367 07 92 [tel:+3243670792]

_X-Ray Imaging Solutions_ | www.xris.eu [http://www.xris.eu/]

Le 2024-05-14T09:51:45.000+02:00, Christian Kandeler via Qbs
<qbs at qt-project.org> a écrit :

> On 5/14/24 9:17 AM, Stéphane Fabry via Qbs wrote:
>>  The projet is running fine, the problem lies in the QtCreator
>>  loading
>>  
>>   the qmltypes.
>>  
>>   It loads correctly the "app.qmltypes" located next to the app.exe
>>  but
>>  
>>   it won't load the library "plugins.qmltypes" located next to the
>>  dll.
>>  
>>   Did I miss something ?
> 
> You mean you want Qt Creator to pick up the import that is being 
> 
> generated when building that very same project to which Main.qml
> belongs?
> 
> Christian
> 
> _______________________________________________
> 
> Qbs mailing list
> 
> Qbs at qt-project.org
> 
> https://lists.qt-project.org/listinfo/qbs


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20240514/3add9f2c/attachment.htm>


More information about the Qbs mailing list