no qt platform plugin could be initialized
Solved
Installation and Deployment
-
Hello,
After the installation of my Qt application on other computer (windows 10),
I got this error when I start the appthis application failed to start because no qt platform plugin could be initialized
@aminemaar Did you deploy your app properly? You can use windeployqt tool for that.
Also how did you "install" your app?
https://doc.qt.io/qt-5/windows-deployment.html -
@jsulm yes I use the windeploy tool, this is what I taped
windeployqt --release --qmldir C:\Qt\Qt5.12.1\5.12.1\msvc2017_64\qml E:\projetsQT\build-Diagbox-Desktop_Qt_5_12_1_MSVC2017_64bit-Release\release\Diagbox.exe
But the app still not working on other computer
-
Hi,
--qmldir
wants the path to your project qml files. -
thank you @SGaist :) but
why when i start the app on other computer (without qt framework installation) i got those erros in the log file2019-03-28 09:12:13.772 DBG default: hello 2019-03-28 09:12:13.850 WRN default: Qt WebEngine ICU data not found at C:/Qt/Qt5.12.1/5.12.1/msvc2017_64/resources. Trying parent directory... 2019-03-28 09:12:13.850 WRN default: Qt WebEngine ICU data not found at C:/Qt/Qt5.12.1/5.12.1/msvc2017_64. Trying application directory... 2019-03-28 09:12:13.850 WRN default: Qt WebEngine ICU data not found at C:/Users/DBX/Desktop/Nouveau dossier/release. Trying fallback directory... The application MAY NOT work. 2019-03-28 09:12:13.850 WRN default: Installed Qt WebEngine locales directory not found at location C:/Qt/Qt5.12.1/5.12.1/msvc2017_64/translations\qtwebengine_locales. Trying application directory... 2019-03-28 09:12:13.850 WRN default: Qt WebEngine locales directory not found at location C:/Users/DBX/Desktop/Nouveau dossier/release\qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.