L
L
l2p2014-06-16 12:32:19
Qt
l2p, 2014-06-16 12:32:19

How to statically compile with QML?

Can't statically compile with QML. Everything works great without it. With it - ":-1: error: Unknown module(s) in QT: declarative".
I understand that qml itself still needs to be rebuilt, or something, but I did not find how to do it. Please help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RSATom, 2014-07-14
@RSATom

When statically linked, plugins must be explicitly imported via Q_IMPORT_PLUGIN.
Also worth reading is this:
qt-project.org/doc/qt-5/qtquick-porting-qt5.html#q...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question