Results 1 to 14 of 14

Thread: bundling parts of qt with application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    5
    Thanks
    1

    Default Re: bundling parts of qt with application

    Quote Originally Posted by high_flyer
    There are two issues here:
    1. Technical
    2. Legal

    The technical issue I think, is not as simple as you describe it.
    Taking out just the functionalities you need, may prove to be harder and complexer then you might think.
    It is very likely that the end functionalities that you need are dependent on other more low level functionalities in the specific Qt module you are dealing with.
    I'd say that purely theoretical this is possible, but I don't think it is doable in any practical way, that would benefit you more then just to link with the whole module.
    I don't understand what the problem is. Would it not be enough to just include all the source files that I use (and all their dependencies)? Are you implying there would be some platform specific issues not handled with this approach?

    Quote Originally Posted by high_flyer
    If the functionalities you are talking about are really "local" (in terms of dependency) and basic, there is a good chance you can find them as independent GPL/public-domain code, after all, what would be the advantage of devouring Qt, if you can have it clean from another source?
    Right, but Qt is inherently cross platform and thus it would be nice to use something that is known to work well. Afterall, that's the benefit of Qt in the first place, right?

    Quote Originally Posted by high_flyer
    The legal issue ofcourse is, that if you are talking about the GPL/QGPL version of Qt, I am not sure you are allowed to do that, and if you are, I am not sure what it means in terms of you needing to supply the full Qt code, but I am no lawyer, better let others who know more then me on this issue to answer...
    I don't know anything about the QPL licence, but under GPL it's perfectly alright to take part of some code and redistribute it. My application would be GPL as well.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: bundling parts of qt with application

    I don't understand what the problem is. Would it not be enough to just include all the source files that I use (and all their dependencies)? Are you implying there would be some platform specific issues not handled with this approach?
    It depends.
    If you are lucky yes.
    Chances are however no.
    I think you will find that the source you are using will depend on other headers and sources.
    Basically it comes down to specifics - what it is you want to extract, and how it is implemented in Qt.

  3. #3
    Join Date
    Aug 2006
    Posts
    163
    Thanks
    12
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: bundling parts of qt with application

    If you are talking about Windwoes, then just statically compile and strip the binary, then use UPX to compress the executable. That's the whole idea of stripping a binary in the first place, isn't it?

Similar Threads

  1. Replies: 3
    Last Post: 8th December 2006, 18:51
  2. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44
  3. How to install my own application in QUnitTest
    By Artschi in forum Qt Programming
    Replies: 3
    Last Post: 18th July 2006, 16:05
  4. Replies: 5
    Last Post: 24th April 2006, 15:42
  5. Replies: 3
    Last Post: 31st March 2006, 18:38

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.