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. Running on Win 10 without IDE
Forum Updated to NodeBB v4.3 + New Features

Running on Win 10 without IDE

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 927 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.
  • R Offline
    R Offline
    RingAndReed
    wrote on last edited by
    #1

    I built a QT application for Windows 10 (x64) using QT 5.8 in Visual Studio 2015 (using the VS plugins). The intention is to have a release that I can drop on any Windows 10 machine and just run it.

    I can run the standalone application fine on the actual computer that built it, but after ironing-out all the missing DLLs and missing runtimes to be installed on Windows, I still get the following error:
    failed to start because it could not find or load the Qt platform plugin "windows" in “”

    My program directory contains (I had to install Visual C++ Redistributable Runtime for Visual Studio 2015):

    • programName.exe
    • programName.exp
    • programName.ilk
    • programName.lib
    • programName.pdb
    • moc_predefs.h
    • Qt5Chartsd.dll
    • Qt5Cored.dll
    • Qt5Cored.lib
    • Qt5DataVisualizationd.dll
    • Qt5Guid.dll
    • Qt5Widgetsd.dll
    • Qt5Widgetsd.lib
    • msvcp140d.dll
    • msvcp100.dll
    • msvcr100.dll
    • NLib.dll //3rd party library
    • NMTLib.dll //3rd party library
    • ucrtbased.dll
    • vcruntime140d.dll
    • vcomp100.dll

    Anyone have any idea how to fix this?
    Thanks!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RingAndReed
      wrote on last edited by RingAndReed
      #3

      Thanks @Wieland!
      That link was unfortunately not enough .... I did all that and the same thing was happening.

      However, that thread did contain another link to QT documentation I didn't know about and that one did solve the problem:
      http://wiki.qt.io/Deploy_an_Application_on_Windows
      .... I used the "quick and dirty" version: not so great in terms of engineering, but it did solve the problem: what remains is refining out what is not necessary.

      Thanks!

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #2

        Similar thread: Failed to start because it could not find or load the Qt platform plugin "windows"

        1 Reply Last reply
        1
        • R Offline
          R Offline
          RingAndReed
          wrote on last edited by RingAndReed
          #3

          Thanks @Wieland!
          That link was unfortunately not enough .... I did all that and the same thing was happening.

          However, that thread did contain another link to QT documentation I didn't know about and that one did solve the problem:
          http://wiki.qt.io/Deploy_an_Application_on_Windows
          .... I used the "quick and dirty" version: not so great in terms of engineering, but it did solve the problem: what remains is refining out what is not necessary.

          Thanks!

          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