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
QtWS25 Last Chance

project.exe does not launch

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qtquickqmlwindows 10
3 Posts 3 Posters 660 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 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.HilkJ 1 Reply Last reply
    1
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on 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

        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.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on 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

        • Login

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