Solved Run 'Qt Quick Demo RSS News' Exemple
-
Hello,
I'm trying to run 'Qt Quick Demo RSS News' exemple.Qt 5.8.0 MinGW 32bit
When I try to run i have this error :
qrc:///demos/rssnews/rssnews.qml:42:1: plugin cannot be loaded for module "QtQuick.XmlListModel": Cannot load library C:\Qt\5.8\mingw53_32\qml\QtQuick\XmlListModel\qmlxmllistmodelplugind.dll: specified module could not be foundIf i check "C:\Qt\5.8\mingw53_32\qml\QtQuick\XmlListModel" folder, there is "qmlxmllistmodelplugind.dll"
So the file is where it must be..I also tryed to copy "qmlxmllistmodelplugind.dll" and past it to project directory, but still same error.
Does anyone know why i have this error, and how to solve it please ?
Thx in advance.
LA -
@LeLev I don't have Qt 5.8 anymore, but it works fine for me with Qt 5.10.0 (MinGW 5.3.0).
I just opened the example in Qt Creator and clicked "Run".
-
@JKSH hello,
I tested with 5.10.0 (MinGW5.3.0) and now it is running. But when i click on left menu (list) i have this errors..qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_errorDo you know why ?
LA -
@LeLev said in Run 'Qt Quick Demo RSS News' Exemple:
@JKSH hello,
I tested with 5.10.0 (MinGW5.3.0) and now it is running.Great!
But when i click on left menu (list) i have this errors..
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_errorDo you know why ?
Because your computer doesn't have OpenSSL installed.
-
@JKSH said in Run 'Qt Quick Demo RSS News' Exemple:
Because your computer doesn't have OpenSSL installed.
Exactly! but do i have to install openSSL or it is sufficent to copy
libeay32.dll, libssl32.dll and ssleay32.dll inside project dir ?I did copied this 3 dlls in "C:\Qt\Examples\Qt-5.8\quick\demos\build-rssnews-Desktop_Qt_5_10_0_MinGW_32bit2-Debug\debug"
And also installed "Win64 OpenSSL v1.1.0g Light"
I still have same errors
Thx very much for help.
LA
-
@LeLev said in Run 'Qt Quick Demo RSS News' Exemple:
Exactly! but do i have to install openSSL or it is sufficent to copy
libeay32.dll, libssl32.dll and ssleay32.dll inside project dir ?Copying should work, but I recommend a proper installation so that other programs can access OpenSSL too.
And also installed "Win64 OpenSSL v1.1.0g Light"
You are building a 32-bit program, so you need the 32-bit version of OpenSSL.
-
@JKSH said in Run 'Qt Quick Demo RSS News' Exemple:
You are building a 32-bit program, so you need the 32-bit version of OpenSSL.
Ok thank you! it is workink with 32.