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. Exe Doesn't work if copied Out of the Folder[SOLVED]
Forum Updated to NodeBB v4.3 + New Features

Exe Doesn't work if copied Out of the Folder[SOLVED]

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 5 Posters 2.3k 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
    rajatgupta431
    wrote on last edited by
    #1

    On deploying Qt app for windows by putting the necesary .dll files along with the executable file in a folder, the app runs correctly, if ran from inside the folder. But gives an Error , if exe is Copied somewhere outside the Folder or on Desktop . How do i fix it?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TioRoy
      wrote on last edited by
      #2

      Create a link (.lnk) point to exe.

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

        [quote author="TioRoy" date="1363727197"]Create a link (.lnk) point to exe.[/quote]

        Sorry , i didn't get...can you please elaborate ? :)

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          It's common for Windows apps to need to be installed in a certain folder with their support files. Another name for what he's suggesting is to create a Shortcut outside the folder or on the desktop that points back to wherever the app is installed.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Code_ReaQtor
            wrote on last edited by
            #5

            [quote author="rajatgupta431" date="1363727889"]
            Sorry , i didn't get...can you please elaborate ? :)[/quote]

            Common shortcut for that:
            right click on the exe file -> click "Send to" -> click "Desktop (create shortcut)"

            Please visit my open-source projects at https://github.com/Code-ReaQtor.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              Or just drag&drop with the right mouse button. You'll get a menu that contains copy, move and create shortcut.

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rajatgupta431
                wrote on last edited by
                #7

                Inno setup is all what i needed...Problem Solved :)

                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