1 year ago

#61375

test-img

tempacc

Create QML component library

I wasn't able to create and use a QML component library by following the fragmented parts of tutorials and Qt documentation, so I'm just gonna ask somebody to answer it all at once.

I want to create a single file (located in /usr/lib/project/components.rcc), that will include all components in ~/Project/src/components/ and their child components located in ~/Projects/src/components/insertparentcomponentname/. I want to be able to use those components in normal QML code.

The question is, how can I create this file and how can I import components in it to use in QML?

( Using Qt Quick 2.0 and C++ with CMake on Arch Linux )

qt

qml

shared-libraries

0 Answers

Your Answer

Accepted video resources