QML Live
Solved
General and Desktop
-
Hi,
im trying to test QMLLivei did :
qmake mingw32-make mingw32-make install
so files are generated in qt install dir :
C:\Qt\5.12.2\mingw73_64\bin >> qmllive5.dll and libqmllive5.a C:\Qt\5.12.2\mingw73_64\include >> qmllive folder with the files
i added to my pro :
INCLUDEPATH += c:\qt\5.12.2\mingw73_64\include\qmllive LIBS += -Lc:\qt\5.12.2\mingw73_64\bin -lqmllive5 DEFINES += SRCDIR=\\\"$$PWD/\\\"
but when i try to compile my project i have the following output :
C:\Users\lev\Documents\dev\MComponents\main.cpp:27: erreur : undefined reference to `_imp___ZN14LiveNodeEngineC1EP7QObject' C:\Users\lev\Documents\dev\MComponents\main.cpp:30: erreur : undefined reference to `_imp___ZN14LiveNodeEngine12setQmlEngineEP10QQmlEngine' C:\Users\lev\Documents\dev\MComponents\main.cpp:34: erreur : undefined reference to `_imp___ZN14LiveNodeEngine15setFallbackViewEP10QQuickView' C:\Users\lev\Documents\dev\MComponents\main.cpp:37: erreur : undefined reference to `_imp___ZN14LiveNodeEngine12setWorkspaceERK7QString6QFlagsINS_15WorkspaceOptionEE' C:\Users\lev\Documents\dev\MComponents\main.cpp:41: erreur : undefined reference to `_imp___ZN14RemoteReceiverC1EP7QObject' C:\Users\lev\Documents\dev\MComponents\main.cpp:42: erreur : undefined reference to `_imp___ZN14RemoteReceiver12registerNodeEP14LiveNodeEngine' C:\Users\lev\Documents\dev\MComponents\main.cpp:43: erreur : undefined reference to `_imp___ZN14RemoteReceiver6listenEi6QFlagsINS_16ConnectionOptionEE' C:\Users\lev\Documents\dev\MComponents\main.cpp:50: erreur : undefined reference to `_imp___ZN14LiveNodeEngine20usePreloadedDocumentERK7QStringP12QQuickWindowRK5QListI9QQmlErrorE' C:\Users\lev\Documents\dev\MComponents\main.cpp:27: erreur : undefined reference to `_imp___ZN14LiveNodeEngineD1Ev' C:\Users\levDocuments\dev\MComponents\main.cpp:27: erreur : undefined reference to `_imp___ZN14LiveNodeEngineD1Ev' C:\Users\lev\Documents\dev\build-MComponents-Desktop_Qt_5_12_2_MinGW_32_bit-Debug\debug\main.o:-1: In function `ZN14RemoteReceiverD1Ev': c:\qt\5.12.2\mingw73_64\include\qmllive\remotereceiver.h:49: erreur : undefined reference to `_imp___ZTV14RemoteReceiver'
Can someone help please ?