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. Error when I deploy Qt Quick Application
Forum Updated to NodeBB v4.3 + New Features

Error when I deploy Qt Quick Application

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 4 Posters 987 Views 1 Watching
  • 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.
  • FaridsarlF Offline
    FaridsarlF Offline
    Faridsarl
    wrote on last edited by
    #1

    Hello

    Since 4 days i try to deploy one Qt Quick Application without success.
    The application use Qt Quick with WebEngineView. It run normaly on my computer but when I make windeployqt.exe --qmldire [qml_path] --webengine [path_of_exe_release] and I copy the release folder to another computer, it don't run. It tell me that they are missing api-ms-win-crt-runtime-l1-1-0.dll. When I copy the dll from my computer (C:\Windows\System32), the application don't run again.

    Can you help me to fix the bug ? I can send a link to download a zip of release folder for test.

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, if you're using Microsoft Visual Studio 2015 to build your app, then try installing the Visual C++ Redistributable package for Visual Studio 2015 on the other computer.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRHans
        wrote on last edited by
        #3

        I wanted to echo what @hskoglund said, but also point out that with the 5.6 Qt build I had (oddly) a dependency on the VS 2013 (not 2015) runtime dependencies even though all of my code build with vs 2015 and linked to the vs 2015 x64 libs/bin.

        The last step of my windows installer is to check for those dependencies and if they're not found execute the vcredist_x64.exe package for vs 2013. Works like a charm on Windows 7, Windows 8.1, and Windows 10.

        1 Reply Last reply
        0
        • Camilo del RealC Offline
          Camilo del RealC Offline
          Camilo del Real
          wrote on last edited by
          #4

          Are you calling windeployqt from the Visual Studio Command Promt? windeployqt cant find some dll of visual studio if you dont do this, at least work to me

          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