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. MSVC2019_x64 compiler issues

MSVC2019_x64 compiler issues

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 620 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.
  • B Offline
    B Offline
    Blackzero
    wrote on last edited by
    #1

    When I run my application using the MSVC2019_64bit compiler on my laptop it runs normally but when I try to run it on another laptop an error occurs when opening the application such as VCRUNTIME140_1D dll and there are several more errors, how to solve it?

    Christian EhrlicherC 1 Reply Last reply
    0
    • B Blackzero

      When I run my application using the MSVC2019_64bit compiler on my laptop it runs normally but when I try to run it on another laptop an error occurs when opening the application such as VCRUNTIME140_1D dll and there are several more errors, how to solve it?

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Blackzero said in MSVC2019_x64 compiler issues:

      how to solve it?

      Use windeployqt to make a deployable package of your application.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      B 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @Blackzero said in MSVC2019_x64 compiler issues:

        how to solve it?

        Use windeployqt to make a deployable package of your application.

        B Offline
        B Offline
        Blackzero
        wrote on last edited by
        #3

        @Christian-Ehrlicher Yes, I have deployed with CMD windeployqt.exe "C:/Project/database.exe" it works on my laptop but when I install it on another laptop it issues the error.

        1 Reply Last reply
        0
        • JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          So does the windeployqt package include the VCRUNTIME140_1D dll of the error message?

          and there are several more errors, how to solve it?

          Depends what the other errors are.

          B Christian EhrlicherC 2 Replies Last reply
          0
          • JonBJ JonB

            So does the windeployqt package include the VCRUNTIME140_1D dll of the error message?

            and there are several more errors, how to solve it?

            Depends what the other errors are.

            B Offline
            B Offline
            Blackzero
            wrote on last edited by
            #5

            @JonB
            This is the only etc. I've seen
            D3Dcompiler_47.dll
            libEGL.dll
            libgcc_s_seh-1.dll
            libGLESv2.dll
            libstdc++-6.dll
            libwinpthread-1.dll
            opengl32sw.dll
            Qt5Core.dll
            Qt5Gui.dll
            Qt5Svg.dll
            Qt5Widgets.dll

            1 Reply Last reply
            0
            • JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              Looks like nearly every DLL/library needed. So like I asked are any of these actually in the windeployqt package? Are you sure you ran and deployed and it was successful because ... Oh, maybe I misunderstood: do you mean those are included but not the VCRUNTIMe one? You said there were other errors?

              1 Reply Last reply
              0
              • JonBJ JonB

                So does the windeployqt package include the VCRUNTIME140_1D dll of the error message?

                and there are several more errors, how to solve it?

                Depends what the other errors are.

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @JonB said in MSVC2019_x64 compiler issues:

                VCRUNTIME140_1D

                This is a debug lib. Compile your app in release mode for deploying.

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                S 1 Reply Last reply
                1
                • Christian EhrlicherC Christian Ehrlicher

                  @JonB said in MSVC2019_x64 compiler issues:

                  VCRUNTIME140_1D

                  This is a debug lib. Compile your app in release mode for deploying.

                  S Offline
                  S Offline
                  SimonSchroeder
                  wrote on last edited by
                  #8

                  @Christian-Ehrlicher said in MSVC2019_x64 compiler issues:

                  This is a debug lib. Compile your app in release mode for deploying.

                  Also, you might still have to manually install the VS 2019 runtime package on the other laptop. (Which would not include the debug libraries. Those you only get by installing Visual Studio.)

                  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