Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. project.exe does not launch
Forum Updated to NodeBB v4.3 + New Features

project.exe does not launch

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qtquickqmlwindows 10
3 Posts 3 Posters 695 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.
  • R Offline
    R Offline
    RLocksley
    wrote on 21 Jan 2022, 04:47 last edited by RLocksley
    #1

    I programmed a project in QtQuick.
    I build the project with qmake and the Desktop QT 6.2.2 MinGw 64 Bit Kit.
    Inside QtCreator it runs smoothly without error messages.

    Then I copied the project.exe and the qml files into a separate folder and ran the command:

    windeployqt project.exe
    

    in the MinGw 9.0.0 64 Bit console.

    That also worked and the folder is now filled with several folders and .dll files.

    But when I click on the project.exe file nothing happens.
    There is no error message.
    The project.exe file is not shown in the TaskManager.

    Does someone know what I am doing wrong?

    I am using Windows 10.

    [solved] I used cmake instead of qmake ... dont know why but now its working

    J 1 Reply Last reply 21 Jan 2022, 07:28
    1
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 21 Jan 2022, 06:59 last edited by
      #2

      This indicates that some libraries and qtquick files are not copied properly. Since you have already solved the problem with cmake, you can move this to solved state.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • R RLocksley
        21 Jan 2022, 04:47

        I programmed a project in QtQuick.
        I build the project with qmake and the Desktop QT 6.2.2 MinGw 64 Bit Kit.
        Inside QtCreator it runs smoothly without error messages.

        Then I copied the project.exe and the qml files into a separate folder and ran the command:

        windeployqt project.exe
        

        in the MinGw 9.0.0 64 Bit console.

        That also worked and the folder is now filled with several folders and .dll files.

        But when I click on the project.exe file nothing happens.
        There is no error message.
        The project.exe file is not shown in the TaskManager.

        Does someone know what I am doing wrong?

        I am using Windows 10.

        [solved] I used cmake instead of qmake ... dont know why but now its working

        J Offline
        J Offline
        J.Hilk
        Moderators
        wrote on 21 Jan 2022, 07:28 last edited by
        #3

        @RLocksley said in project.exe does not launch:

        windeployqt project.exe

        if that is the whole command you used, that you missed the --qmldir parameter
        https://doc.qt.io/qt-5/windows-deployment.html


        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

        1/3

        21 Jan 2022, 04:47

        • Login

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