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. QQmlApplicationEngine failed to load component
Forum Updated to NodeBB v4.3 + New Features

QQmlApplicationEngine failed to load component

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 368 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.
  • L Offline
    L Offline
    lzzy_ha
    wrote on last edited by
    #1

    I have build the program and works fine start by qt creator.
    In the qt creator build output folder, I ran the windeployqt.exe and copied the MinGW dependences, the program could not start by double click the exe file. Even if I start the app from qt creator, the issue is the same, I compared the difference, and found that:
    Before I ran windeployqt and copied the dependence and After:
    1.PNG

    My envoriment: Windows10 x64, qt creator 5, qt 6.1.3, mingw81_64

    Could anyone help me to correct the issue?

    J.HilkJ 1 Reply Last reply
    0
    • L lzzy_ha

      I have build the program and works fine start by qt creator.
      In the qt creator build output folder, I ran the windeployqt.exe and copied the MinGW dependences, the program could not start by double click the exe file. Even if I start the app from qt creator, the issue is the same, I compared the difference, and found that:
      Before I ran windeployqt and copied the dependence and After:
      1.PNG

      My envoriment: Windows10 x64, qt creator 5, qt 6.1.3, mingw81_64

      Could anyone help me to correct the issue?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @lzzy_ha
      I suggest the following:

      • delete the build folder completely.
      • Build the project new from QtCreator.
      • Copy the executable somewhere else
      • run windeployqt on the executable
      • Do not forget the correct -qmldir argument
      • Come back here report success or failure :D

      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      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