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. QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.
Forum Updated to NodeBB v4.3 + New Features

QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.

Scheduled Pinned Locked Moved Solved Installation and Deployment
14 Posts 5 Posters 9.0k Views 2 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.
  • S StevieGardiner

    @mrjj the tablet is an;
    Acer, Iconia W1-810
    Intel Atom Z7375G 1.33Ghz processor.
    Windows 10 32 bit operating system on a x64 based processor.

    @jsulm i took all the files from the MSVC2015 32bit fiile. <C:\Qt\5.10.0\msvc2015> and when building the app on qt checking the kits, its a x86 msvc compiler and debugger.

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #5

    @StevieGardiner said in QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.:

    C:\Qt\5.10.0\msvc2015

    and this is your Qt 32bit installation?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    S 1 Reply Last reply
    0
    • jsulmJ jsulm

      @StevieGardiner said in QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.:

      C:\Qt\5.10.0\msvc2015

      and this is your Qt 32bit installation?

      S Offline
      S Offline
      StevieGardiner
      wrote on last edited by
      #6

      @jsulm yes it is

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

        Hi, try installing the MSVC2015 32-bit redistributable i.e. select vc_redist.x86.exe

        1 Reply Last reply
        1
        • S Offline
          S Offline
          StevieGardiner
          wrote on last edited by
          #8

          To try and track down the problem, ive ran the maintenance tool and removed all compilers and debuggers apart from QT 5.10, QT 5.8 MSVC2015 32bit.

          Then ive built the release program in QT5.8 MSVC2015, taken the *.exe together with the bin, plugin and qml files from the QT5.8 MSVC2015 file and ran it and it works fine on the x64 bit host computer. Added the vcruntime140.dll and MSVCP140.dll from system32 file and copied it over the the tablet.

          I then got the following errors;
          QT5Gui.dll is either not deigned to run on windows or contains an error.
          QT5Qml.dll is either not deigned to run on windows or contains an error.
          QT5SerialPort.dll is either not deigned to run on windows or contains an error.
          QT5Core.dll is either not deigned to run on windows or contains an error.

          @hskoglund i got this when trying to install - Error 0x80070666: Cannot install a product when a newer version is installed.

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

            Hi, the vcruntime140.dll and MSVCP140.dll are very dangerous to copy manually into the target computer, you should only do that as a last resort. Instead, try to use that link to the MSVC2015 32-bit redistributable above.

            For example, if you copied the vcruntime140.dll and MSVCP140.dll files from system32 file from a computer running a 64-bit version of Windows, the you will have copied the 64-bit version of the files, and you will get that error you wrote. (The 32-bit version of the files you instead can find in the SysWow64 file.)

            Also if get that Error 0x80070666, you could try first to uninstall your existing MSVC2015 32-bit redistributable, then try that link again.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              StevieGardiner
              wrote on last edited by StevieGardiner
              #10

              @hskoglund Ok thank you for clearing that up, ive uninstalled what was installed and installed the link.

              should i be using the Visual C++ 2015 x86 Native build tools command prompt to build the deployment file?

              hskoglundH 1 Reply Last reply
              0
              • S StevieGardiner

                @hskoglund Ok thank you for clearing that up, ive uninstalled what was installed and installed the link.

                should i be using the Visual C++ 2015 x86 Native build tools command prompt to build the deployment file?

                hskoglundH Offline
                hskoglundH Offline
                hskoglund
                wrote on last edited by
                #11

                @StevieGardiner said in QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.:

                should i be using the Visual C++ 2015 x86 Native build tools command prompt to build the deployment file?

                It shouldn't matter what command prompt you're using, as long as you only include Qt-flavored files and don't include any files from Microsoft (e.g. from C:\Windows).

                S 1 Reply Last reply
                0
                • hskoglundH hskoglund

                  @StevieGardiner said in QT 5.10 MSVC2015 Windows 10 32bit app VCRUNTIME140.dll error.:

                  should i be using the Visual C++ 2015 x86 Native build tools command prompt to build the deployment file?

                  It shouldn't matter what command prompt you're using, as long as you only include Qt-flavored files and don't include any files from Microsoft (e.g. from C:\Windows).

                  S Offline
                  S Offline
                  StevieGardiner
                  wrote on last edited by
                  #12

                  @hskoglund I solved the problem thank you, i believe that using the QT5.8 MSVC2015 32bit cmd and windeployqt did the trick.

                  Thank you all for your help.

                  1 Reply Last reply
                  1
                  • C Offline
                    C Offline
                    ChristinaS
                    wrote on last edited by kshegunov
                    #13

                    I'm facing the similar issue but I'm getting only VCRUNTIME140.dll is missing error tried re-installing the visual studio again but it didn't solve.

                    Third party link removed

                    How about I just replace the dll file ?

                    [Link removed ~kshegunov]

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

                      Hi, please don't download those Microsoft .dlls from 3rd-party sites, they might contain unwelcome extra surprises, instead try reinstalling using that vc_redist.x86.exe link

                      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