Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Run as release with qt tools for msvc

Run as release with qt tools for msvc

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 295 Views
  • 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.
  • M Offline
    M Offline
    Mwoua_Leddar
    wrote on last edited by
    #1

    Hello,
    I have installed the visual studio extension for qt tools, (msvc 2019). Everything is fine in debug, but in release, I can build, but I cannot run.

    It fails with the error :
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    Is there a specific config to run release build from msvc?

    ODБOïO 1 Reply Last reply
    0
    • M Mwoua_Leddar

      Hello,
      I have installed the visual studio extension for qt tools, (msvc 2019). Everything is fine in debug, but in release, I can build, but I cannot run.

      It fails with the error :
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

      Is there a specific config to run release build from msvc?

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @Mwoua_Leddar

      Are you trying to run from Qt Creator or directly from your application executable ?
      if you run with the executable you need to deploy your application first
      https://doc.qt.io/qt-5/windows-deployment.html

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Mwoua_Leddar
        wrote on last edited by
        #3

        I try to run it from visual studio.

        When I actually deploy it to run on its own, everything is working

        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