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. windeployqt.exe returning 1 without error or warning

windeployqt.exe returning 1 without error or warning

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 1.3k 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.
  • JohanSoloJ Offline
    JohanSoloJ Offline
    JohanSolo
    wrote on last edited by
    #1

    Hello,

    I'm writing a software using Qt 5.6.2 with CMake and MSVC 2013 on windows 10.

    I can compile without problem, run the soft (either from MSVC and the release folder), everything's fine. I discovered the windeployqt software and I want to call it in my CMakeLists.txt file. I had the warning

    Warning: Cannot find Visual Studio installation directory, VCINSTALLDIR is not set.
    

    therefore I added the --no-compiler-runtime switch, now the output looks like

    D:\GitRepos\...\gridCreator64.exe 64 bit, debug executable
    Adding Qt5Svg for qsvgicond.dll
    Direct dependencies: Qt5Concurrent Qt5Core Qt5Gui Qt5Widgets
    All dependencies   : Qt5Concurrent Qt5Core Qt5Gui Qt5Widgets
    To be deployed     : Qt5Concurrent Qt5Core Qt5Gui Qt5Svg Qt5Widgets
    Qt5Concurrentd.dll is up to date.
    Qt5Cored.dll is up to date.
    Qt5Guid.dll is up to date.
    Qt5Svgd.dll is up to date.
    Qt5Widgetsd.dll is up to date.
    libGLESV2d.dll is up to date.
    libEGLd.dll is up to date.
    D3Dcompiler_47.dll is up to date.
    opengl32sw.dll is up to date.
    Patching Qt5Cored.dll...
    qsvgicond.dll is up to date.
    qddsd.dll is up to date.
    qgifd.dll is up to date.
    qicnsd.dll is up to date.
    qicod.dll is up to date.
    qjpegd.dll is up to date.
    qsvgd.dll is up to date.
    qtgad.dll is up to date.
    qtiffd.dll is up to date.
    qwbmpd.dll is up to date.
    qwebpd.dll is up to date.
    qwindowsd.dll is up to date.
    Creating qt_ca.qm...
    

    but the output status is 1, therefore failing my build as CMake detects an error. Am I doing something wrong?

    `They did not know it was impossible, so they did it.'
    -- Mark Twain

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by JohanSolo
      #2

      My bad, I should have read the output more carefully: the translation qt_ca actually fails. (Why on Earth does it want me to use Catalan) The question is why no error / warning is shown if translations cannot be found. I added --no-translations and now the exit status is 0 leading to a successful build.

      Sorry for the noise.

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      1 Reply Last reply
      1

      • Login

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