Questions tagged [windeployqt]

windeployqt is a deployment tool that automates the process of creating a deployable folder that contains all the necessary dependencies to run applications built with the Qt framework.

29 questions
5
votes
1 answer

Qt windeployqt failed with: does not seem to be a Qt executable?

I have a qt c++ plain program. using mingw8.1 gcc as compilier in windows. I can run it in qt creator. But when i want to use windeplotqt to deploy, it failed with: a.exe does not seem to be a Qt executable my step is: 1. copy the exe from…
nick
  • 832
  • 3
  • 12
5
votes
2 answers

windeployqt copies a lot of unneeded files

I am using windeployqt to create an executable with the correct dependencies for a very simple Hello World type QML application. When using this, with the command windeployqt . --release --qmldir D:\Documents\QT-Projects\HelloQML in a folder with…
Josh Wood
  • 1,598
  • 3
  • 16
  • 21
4
votes
1 answer

"Warning: Cannot find GCC installation directory. g++.exe must be in the path." when using windeployqt

When I run windeployqt to deploy my application, I get the following warning: Warning: Cannot find GCC installation directory. g++.exe must be in the path. Even though I have set the Path environment variable to include the Qt's MinGW binary files…
today
  • 32,602
  • 8
  • 95
  • 115
4
votes
0 answers

QWebEngineView crashes on Windows release builds as it can't find the required resource files

I am currently developing an application for Windows using Qt 5.9 that displays some local HTML files inside using a QWebEngineView instance. The code is rather simple, and I don't think it is relevant to the issue at hand: QWebEngineView *webView =…
martinarroyo
  • 9,389
  • 3
  • 38
  • 75
3
votes
1 answer

How to set qml output directory for windeployqt

I would like to use windeployqt.exe to deploy all required dll, plugins and qmls. windeployqt.exe provides options to copy dll to the directory specified by --libdir, copy plugins to --plugindir. But option --qmldir has a different purpose. It used…
DarkSidds
  • 164
  • 11
2
votes
1 answer

QML Image: Unsupported Image Format for jpg when running a deployed application

I have an application that displays alot of images of different file formats like svg, png and jpeg. My application runs fine when I run it in my build environment, but when I deploy it to a target PC, only svg and png images will load and the…
steinio
  • 21
  • 4
2
votes
2 answers

creating appimage using source code and linuxdeployqt

i trying to create a appimage for my Linux system. Using qt-creator i have completed the programing and ran the app successfully . but when i am trying to make it appimage using linuxdeployQt i am facing some errors linuxdeployqt 5 (commit 37631e5),…
Bgg
  • 21
  • 3
2
votes
1 answer

Associate my QT application with video/image files in Inno Setup

I have developed QT application to view image/videos. I am deploying the application using windeployqt and have created setup.exe using Inno Setup tool. I have already implemented code to show up image when opened through my app. Now I want my…
Anonymous
  • 336
  • 3
  • 23
2
votes
0 answers

How to tell windeployqt where to look for dependencies

How can I tell windeployqt where Qt is installed? On my CI I install only the minimum required dependencies and add the location to PATH, which works for CMake to build the project. But when I run windeployqt afterwards, it looks for the…
Damir Porobic
  • 681
  • 1
  • 8
  • 21
2
votes
2 answers

How to integrate Qt's windeployqt as part of Visual Studio build workflow?

Every time a new Qt project is built for first time in Visual Studio, even with the VS Tools installed, I have to copy some Qt-related binary files (Qt5Core.dll, platform files...). Otherwise, when running from Visual Studio, Qt5Core.dll (or debug…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
2
votes
1 answer

windeployqt module QtQuick not installed

Im trying to deploy a set of QT applications. On linux all applications works fine after installing all dependencies, but in windows QtQuick based applications doesn't work at all. To deploy on windows I follow this steps: Compile my project in…
Engel
  • 189
  • 3
  • 16
1
vote
0 answers

Why do I have to copy mingw DLLs manually when using windeployqt?

Just downloaded Qt Creator and compiled my application. I am using windeployqt on the command line since I did not find any option in Qt creator itself. When I use it on my binary I still have to copy DLLs like libgcc_s_seh-1.dll, libstdc++-6.dll…
Baradé
  • 1,290
  • 1
  • 15
  • 35
1
vote
1 answer

Deploy Qt to Windows on a Linux machine

Feels like a silly question, but I'm struggling to find the answer online: Is it possible to deploy Qt apps to Windows if you did development on a Linux machine? It seems the answer should be "yes", but I can't seem to use windeployqt on my linux…
siya
  • 73
  • 7
1
vote
1 answer

Creating installer using cpack and windeployqt

When I execute my CMakelists.txt the target executable is not packaged with neither the autogenerated .zip or the installer, it is located in the root of the build directory. All that is included within the .zip and the installer is the appropriate…
pennyBoy
  • 397
  • 2
  • 17
1
vote
1 answer

Is it possible to determine whether CMake install(CODE) is called from the "install" or "package" stage?

I'm using CMake v3.21.0 to invoke Qt's windeployqt during the install stage by the means of the install(CODE) command as follows: install( CODE " execute_process( COMMAND \"${CMAKE_COMMAND}\" -E env…
Florian Wolters
  • 3,820
  • 5
  • 35
  • 55
1
2