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. [Solved] Qt 5 application won't start on non-development machine
Qt 6.11 is out! See what's new in the release blog

[Solved] Qt 5 application won't start on non-development machine

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 5.4k 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.
  • A Offline
    A Offline
    andishock
    wrote on last edited by
    #1

    Hello all,

    I have successfully ported a Qt application from 4.8 to 5.0. On the development machine (Win 7 32bit) everything runs fine as well in debug as in release mode.
    The only remaining issue is, when trying to run this application on another PC (tried Win 7 and XP, no Qt installation on either), it refuses to start; i.e. it only comes to the point, before the QApplication instance is created in main. No further errors or entries in the Windows event viewer can be found.

    Any suggestions how to fix this or how to catch up on the error?

    Tanks in advance!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Did you provide all the necessary libraries required to run the application, including the Visual Studio runtime, icu*.dll, libEGL.dll and libGLESv2.dll, platform/qwindows.dll and any other shared library your application links to?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andishock
        wrote on last edited by
        #3

        Thanks for that quick reply!

        The platform/qwindows.dll was obviously missing! This wasn't necessary before Qt 5...
        I should have asked this question here some hours ago...

        Thank you again!

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          You're welcome.

          Platform abstraction has been changed in Qt5, now consisting of loadable modules, like platform/qwindows.dll for Windows. Those modules are loaded at runtime, so you won't get a warning from the dynamic linker if there are none.

          Feel free to prepend the title with '[Solved] ...' if your question has been solved to indicate that there is a solution inside.

          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