Results 1 to 4 of 4

Thread: adding system libraries statically to Qt5 project

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2013
    Posts
    16
    Thanks
    6
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default adding system libraries statically to Qt5 project

    I compiled Qt5 statically in Debian 7.1. I get this error when I tried to execute my app in Debian 5:

    Qt Code:
    1. error while loading shared libraries: libxcb-glx.so.0: cannot open shared object file: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    If I installed libxcb-glx package in Debian 5 error was gone. But I do not want this. My app should work in Debian 5 without installing any file.
    Then I right-click my project title and select Add Library. There are 4 option in menu and I try all of them. Everytime my app gave same error.
    So how can I add system libraries statically to my project?

    Thanks.
    Last edited by iskenderoguz; 23rd July 2013 at 08:53.

Similar Threads

  1. Replies: 4
    Last Post: 5th November 2011, 01:38
  2. Replies: 4
    Last Post: 7th May 2009, 07:19
  3. Creating Static libraries in Qt/Mac
    By nareshqt in forum Qt Programming
    Replies: 0
    Last Post: 2nd May 2008, 11:45
  4. having both static and dynamic libraries?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 7th May 2007, 07:33
  5. static objects in libraries
    By Rawk in forum Qt Programming
    Replies: 3
    Last Post: 16th January 2007, 19:03

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.