Results 1 to 4 of 4

Thread: Deploy Qt project

  1. #1
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Deploy Qt project

    Hi,
    I have created a project with several Dlls. I can successfully build all the project. TO build i am using Visual Studio 2008(vcbuild command). After building when i deploy it in freshly ghosted system, the software is asking for some QT related Dlls like QtWebkit4.dll, QtCore4.dll, QtGui4.dll etc.

    So is there any way to compile, so that i can deploy without these files in my MSi????
    In other words my Msi shouldn't contain Qt distributed dlls.



    Thank You

  2. #2
    Join Date
    May 2008
    Posts
    42
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4

    Default Re: Deploy Qt project

    Hi,

    These DLLs will be available in the Qt folder where you installed..

    ..Qt\4.3.4\bin

  3. #3
    Join Date
    Aug 2008
    Posts
    134
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Deploy Qt project

    yes that i know... but i dont want to include that....
    Since i am using some part of Qt Dlls , i dont want to keep whole dlls in my Msi....

  4. #4
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Deploy Qt project

    Static linking is the key.
    This should help in the *.pro file:
    Qt Code:
    1. CONFIG += static
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  2. Re: Opening Project file Issue in Edyuk
    By philwinder in forum Qt-based Software
    Replies: 6
    Last Post: 5th May 2008, 20:49
  3. Importing qt project to an eclipse workspace
    By isahin in forum Installation and Deployment
    Replies: 2
    Last Post: 28th January 2008, 18:00
  4. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 17:41
  5. Replies: 2
    Last Post: 11th July 2006, 14:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.