Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. no qt platform plugin could be initialized
Forum Update on Monday, May 27th 2025

no qt platform plugin could be initialized

Scheduled Pinned Locked Moved Solved Installation and Deployment
6 Posts 4 Posters 53.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aminemaar
    wrote on last edited by
    #1

    Hello,

    After the installation of my Qt application on other computer (windows 10),
    I got this error when I start the app

    this application failed to start because no qt platform plugin could be initialized
    
    jsulmJ 1 Reply Last reply
    0
    • A aminemaar

      Hello,

      After the installation of my Qt application on other computer (windows 10),
      I got this error when I start the app

      this application failed to start because no qt platform plugin could be initialized
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aminemaar
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          --qmldir wants the path to your project qml files.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          2
          • SGaistS SGaist

            Hi,

            --qmldir wants the path to your project qml files.

            A Offline
            A Offline
            aminemaar
            wrote on last edited by aminemaar
            #5

            thank you @SGaist :) but
            why when i start the app on other computer (without qt framework installation) i got those erros in the log file

            2019-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.
            
            
            1 Reply Last reply
            0
            • A Offline
              A Offline
              aminemaar
              wrote on last edited by
              #6

              I solved it by adding the ressources files in C:\Qt\Qt5.12.1\5.12.1\msvc2017_64\resources
              to the release folder beside app.exe

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved