jsseu
jsseu

Reputation: 23

Use QML delegate on QListWidget

I'm using a Qlistwidget and I want to use custom delegates. It's possible to use QML as QListWidget delegate? I know how to integrate QML into a widget application but I cannot realize how to use it as delegate.

Upvotes: 0

Views: 505

Answers (1)

Mitch
Mitch

Reputation: 24416

It might be possible, if you can use QQuickWidget as the delegate. If you've already managed to integrate QML into your application, then it shouldn't be hard to try.

Don't do it though, really. Just use one or the other.

Upvotes: 1

Related Questions