Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trouble with windeployqt.exe
Forum Updated to NodeBB v4.3 + New Features

Trouble with windeployqt.exe

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 300 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.
  • DoohamD Offline
    DoohamD Offline
    Dooham
    wrote on last edited by
    #1

    Hello everyone,
    I am trying to create a functional file exe of a program that I made in qt, using QML for the UI; but when I tried to run the .exe after running the windeployqt. exe something is wrong and the system doesnt open the application.
    These are the steps that I followed:
    1-First of all I change the mode of my kit MSVC2017 32 bits from debug to release.
    2-Secondtly I run the code and the code that I made appeared.
    3-Then, I go to the console MSVC2017-32 bits and I went to the folder where it is the file .exe that was made with the release.
    4-I run the command windeployqt.exe . (with a dot at the end)
    5-The command make the folder and files, but when I go to run the file .exe it makes nothing.

    Does anyone know what is wrong?
    Thanks.

    DoohamD 1 Reply Last reply
    0
    • DoohamD Dooham

      Hello everyone,
      I am trying to create a functional file exe of a program that I made in qt, using QML for the UI; but when I tried to run the .exe after running the windeployqt. exe something is wrong and the system doesnt open the application.
      These are the steps that I followed:
      1-First of all I change the mode of my kit MSVC2017 32 bits from debug to release.
      2-Secondtly I run the code and the code that I made appeared.
      3-Then, I go to the console MSVC2017-32 bits and I went to the folder where it is the file .exe that was made with the release.
      4-I run the command windeployqt.exe . (with a dot at the end)
      5-The command make the folder and files, but when I go to run the file .exe it makes nothing.

      Does anyone know what is wrong?
      Thanks.

      DoohamD Offline
      DoohamD Offline
      Dooham
      wrote on last edited by
      #2

      @Dooham Ok I have seen my error. I just had to put the following command:
      windeployqt --qmldir The route until my qml files in the project folder The route until my release file

      Like this:
      0_1563569299232_95112274-c848-41a9-9e63-4c102e02bbdd-image.png

      1 Reply Last reply
      3

      • Login

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