Results 1 to 3 of 3

Thread: Portable Qt libraries?

  1. #1
    Join Date
    Nov 2008
    Location
    Netherlands
    Beans
    159

    [SOLVED] Portable Qt libraries?

    I'm developing an application in Qt, because it has to be portable and cross platform. I have to use it at school (windows xp) and at home (ubuntu). When I run the Qt app in a fresh installation, it get the error message:
    ./Qt: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory

    Copying libQtGui.so.4 doesn't work. The easiest was is probably installing the Qt libraries, but I'm looking for a way to make it run just on every Ubuntu installation without installing anything at all. Firefox for example has the .so files in the excutable directory. How can I do this?
    Last edited by LoloftheRings; April 28th, 2009 at 08:12 AM.
    "Just let the spinning wheel spin,
    and let your life begin!" - Arch Enemy

  2. #2
    Join Date
    Apr 2005
    Location
    Finland
    Beans
    272

    Re: Portable Qt libraries?

    Please read the "Creating the application package" section here: http://doc.trolltech.com/4.5/deployment-x11.html

  3. #3
    Join Date
    Nov 2008
    Location
    Netherlands
    Beans
    159

    Re: Portable Qt libraries?

    exactly what I was looking for. Thanks!
    "Just let the spinning wheel spin,
    and let your life begin!" - Arch Enemy

Tags for this Thread

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
  •