Results 1 to 20 of 23

Thread: How to deploy?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    23
    Thanked 32 Times in 28 Posts

    Default Re: How to deploy?

    aash_89, Welcome to the wonderful world of Qt.
    Beeing a newbie I can see all the enthusiasm about running and deploying your first Qt app.
    So, forget about configuring Qt statically for now, some say you should not deploy apps like that unless you have a Qt commercial license. If you have tried to run your app from the windows explorer and it doesnt work you should add qt dll's directory to your system path. This would be something like:

    c:\qt\2010.04\qt\bin;c:\Qt\2010.04\bin

    (change it acording to your Qt version/ dll's directory)

    To run your app.exe in another computer you will need at least, from that first dir, qtcore4.dll, qtgui4.dll, mingwm10.dll and libgcc_s_dw2-1.dll. You could put all this file in the same directory in other computer and that should work. You can also use a third party software to do a more fancy thing like a setup.exe file that would do a next-next-finnish deployment, much more prettier. I personnaly use Install Creator (google it) they have a free version, very easy to use, but there's plenty others programs. That's it.
    Then you will show it to your friends and they will say: “Hey, aash_89 did a very cool app it looks very professional“. (that was what my math teacher, who didnt know nothing about programming, said, when I made a Floyd algorithm program lololol )

    By the way Wysota and Lykurg are nice guys who have helped hundreds and thousands not 3 (lol). The thing is that at some point some people just would come to the forum asking code snippets, without any effort to learn, expecting the forum to do there work. Also think they are triyng to tell you that the best way to learn Qt, and programming, is being sell thaugh. This means readind a lot of books and tutorials.But I also think that this could be some what difficult at newbie stage and sometimes, frustating. So please let me know if something is unclear to you.

    By the way, I advise to deploy the dll files to yourapp.exe current directory and not to windows\system directory. This could save you a lot of errors with diffrent dll versions, (the famous dllhell)
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  2. The following 4 users say thank you to john_god for this useful post:

    aash_89 (26th July 2010), gaddlord (24th August 2010), Ionwind (2nd August 2010), tipul07 (6th August 2010)

Similar Threads

  1. Has anybody ever able to deploy qt application?
    By Tarun in forum Installation and Deployment
    Replies: 16
    Last Post: 22nd February 2010, 09:08
  2. Trying to deploy a bundle
    By afflictedd2 in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2009, 19:39
  3. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21
  4. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 09:34
  5. Deploy Qt project
    By navi1084 in forum Installation and Deployment
    Replies: 3
    Last Post: 9th October 2008, 19:39

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.