Results 1 to 2 of 2

Thread: Create a Static exe file of my qt project

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Create a Static exe file of my qt project

    Hello,
    i have a project created in Qt and i want to create a exe file.
    When i build a exe file of my project and i start the exe outside Qt, then i get a error for dll missing.
    How can I compile my project the best and how can I make my exe file without those dll files.
    I'm using visual basic C + + 2010 as compiler

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Create a Static exe file of my qt project

    visual basic? yes, of course you are, dear.

    If you want a static app then you need to have static libs of Qt - that means you need to rebuilt Qt statically. there are lots of guides around for how to do that. Make sure you don't trip up over LGPL.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 1
    Last Post: 21st May 2011, 00:29
  2. how to create .exe file of the project?
    By anamr in forum Newbie
    Replies: 1
    Last Post: 17th October 2010, 11:37
  3. Replies: 1
    Last Post: 15th August 2010, 12:12
  4. Replies: 4
    Last Post: 18th December 2009, 18:55
  5. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.