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. [Solved]Finished project now how to create executable?
QtWS25 Last Chance

[Solved]Finished project now how to create executable?

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

    I have finished my project and would like to make it a executable that can be ran from the desktop or installed folder but do not know the next step.

    Thought by building the release version I would be able to do this but there are tons of linked files. Do I need to get tricky with the console when building so these files build with the program release directory or is it a licensing thing?

    Brandon Clark
    www.themindspot.com

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RaubTieR
      wrote on last edited by
      #2

      What I do in this case - I pick all the necessary .dll (or .so) files, which are usually QtCore4, QtGui4 and others. You may find them in "QtSDK\Desktop\Qt\4.8.1\mingw\lib", which depending on your installation and project options may differ, but i hope you get the idea. Under Windows with MinGW I also took libgcc_s_dw2-1.dll and mingwm10.dll, which are most likely somewhere in "QtSDK\mingw\bin".
      So since you put all stuff together, your exe is fine on another machine. I think you may check if all correct just launching on your own computer, but without IDE, then if program still needs libs it will tell. The most important part is to pick the right Qt libs, you either know what you're doing or use something like this "dependency walker":http://en.wikipedia.org/wiki/Dependency_Walker

      1 Reply Last reply
      0
      • A Offline
        A Offline
        absfrm
        wrote on last edited by
        #3

        And after finished According to RaubTieR, You can make an installation file with installshield,Indigo Rose or ...

        If You Want You Can!

        1 Reply Last reply
        0
        • W Offline
          W Offline
          weblife
          wrote on last edited by
          #4

          Love you guys! No really, I love you. Don't blush.

          Brandon Clark
          www.themindspot.com

          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