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. How to run .exe file from release folder? Qt 5.13, Windows.

How to run .exe file from release folder? Qt 5.13, Windows.

Scheduled Pinned Locked Moved Solved General and Desktop
5 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.
  • C Offline
    C Offline
    caferacer
    wrote on last edited by caferacer
    #1

    Hi. I have Qt Creator with two weeks license. I wrote simple program with buttons and COM-port action, it works good when run from Qt Creator itself. If I run .exe file from release folder it asking for Qt5SerialPort.dll. No such file appears on my computer after build action. I read somewhere that "make install" action will create all dll's which progect needs, but I don't know where to write this command. If anything, I don't know much aboul compilers and linkers.

    jsulmJ 1 Reply Last reply
    0
    • C caferacer

      Hi. I have Qt Creator with two weeks license. I wrote simple program with buttons and COM-port action, it works good when run from Qt Creator itself. If I run .exe file from release folder it asking for Qt5SerialPort.dll. No such file appears on my computer after build action. I read somewhere that "make install" action will create all dll's which progect needs, but I don't know where to write this command. If anything, I don't know much aboul compilers and linkers.

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

      @caferacer You need to deploy your app.
      See https://doc.qt.io/qt-5/windows-deployment.html

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

      1 Reply Last reply
      6
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi and welcome to the forums
        When you want to run your app outside Creator. You need a so called deplyment folder.
        Which is just a plain folder with some sub folders in it and the Qt dlls.

        You can use this tool to copy the needed DLLs (used by your app)
        https://doc.qt.io/qt-5/windows-deployment.html

        You can also read this for more information.
        http://www.tripleboot.org/?p=138

        Damn. ninjaed by jsulm :)

        1 Reply Last reply
        4
        • C Offline
          C Offline
          caferacer
          wrote on last edited by
          #4

          Thank you, I will try to deploy it. Is there any button "Deploy" in Qt Creator IDE to make this action more easier?

          mrjjM 1 Reply Last reply
          0
          • C caferacer

            Thank you, I will try to deploy it. Is there any button "Deploy" in Qt Creator IDE to make this action more easier?

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @caferacer

            Hi
            Sadly no.
            Its a command-line tool.
            basically, you can just point to yur build folder with a release exe and
            that is normally enough.
            If you are unsure of how to use command line, let me know.

            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