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. Fail to run application in Release mode but able to run in Debug mode

Fail to run application in Release mode but able to run in Debug mode

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 343 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
    MNag
    wrote on last edited by
    #1

    I am running my application without any problem in debug mode but when i try to run in release mode it is giving the following error,

    "qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem."

    Qt Version : Qt 5.12.11 MinGW 32bit
    Qt creator: 4.15.0
    System : Windows 10 , virtual box

    Thanks in advance!!

    jsulmJ 1 Reply Last reply
    0
    • M MNag

      I am running my application without any problem in debug mode but when i try to run in release mode it is giving the following error,

      "qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem."

      Qt Version : Qt 5.12.11 MinGW 32bit
      Qt creator: 4.15.0
      System : Windows 10 , virtual box

      Thanks in advance!!

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

      @MNag How do you start it? From QtCreator?

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MNag
        wrote on last edited by
        #3

        In the left bottom of qt creator i selected build type Release, attached image![alt text](QT_build.png image url)

        jsulmJ 1 Reply Last reply
        0
        • M MNag

          In the left bottom of qt creator i selected build type Release, attached image![alt text](QT_build.png image url)

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

          @MNag That should work.
          How did you install Qt?

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MNag
            wrote on last edited by
            #5

            Through open source offline installer. (qt-opensource-windows-x86-5.12.11)

            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