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. Opening application by double click

Opening application by double click

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.4k 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.
  • V Offline
    V Offline
    vmjafar
    wrote on last edited by
    #1

    i have created QT application in visual studio,when i open the exe from output path by double clicking it shows the error like "the application was unable to start correctly"

    1 Reply Last reply
    0
    • m.sueM Offline
      m.sueM Offline
      m.sue
      wrote on last edited by m.sue
      #2

      Hi,

      There can be several reasons, like wrong PATH, missing VS redistribution pack, etc. Which error number 0xNNNNNNNN do you get?

      Then you can just search for this number with the message in the internet. It's nothing Qt-specific I would guess.

      -Michael.

      V 1 Reply Last reply
      1
      • E Offline
        E Offline
        Eligijus
        wrote on last edited by
        #3

        If you didn't compile your application with statically linked Qt then you can't launch your application just by double clicking it. You need to copy required dynamic libraries(.dll) to the same folder where your .exe file is. Or use existing tools that copy required dependencies(.dll) for you http://doc.qt.io/qt-5/windows-deployment.html .

        1 Reply Last reply
        2
        • m.sueM m.sue

          Hi,

          There can be several reasons, like wrong PATH, missing VS redistribution pack, etc. Which error number 0xNNNNNNNN do you get?

          Then you can just search for this number with the message in the internet. It's nothing Qt-specific I would guess.

          -Michael.

          V Offline
          V Offline
          vmjafar
          wrote on last edited by
          #4

          @m.sue
          error number :0xc000007b

          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