Results 1 to 2 of 2

Thread: Run a QT Application

  1. #1
    Join Date
    Mar 2008
    Posts
    68
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Run a QT Application

    Hi Can u please tell me how to run a compiled QT Application on a machine that doesnot have QT Installed..

    I think i need to add some .so files during the make operation!
    can u tell me which qmake variable i should use, so that it adds all the necessary files during the make operation itself...


    I am using Qt 4.2.2 and the linux kernel version is 2.6

    The output of ldd command is
    Qt Code:
    1. libQtGui.so.4 => /usr/local/Trolltech/Qt-4.2.2/lib/libQtGui.so.4 (0x00111000)
    2. libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0086d000)
    3. libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x00bd8000)
    4. libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00be2000)
    5. libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00890000)
    6. libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00cd7000)
    7. libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x00ce1000)
    8. libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x00101000)
    9. libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x00ce6000)
    10. libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x00cf1000)
    11. libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00c11000)
    12. libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00c9b000)
    13. libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00bb4000)
    14. libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00aeb000)
    15. libQtCore.so.4 => /usr/local/Trolltech/Qt-4.2.2/lib/libQtCore.so.4 (0x00cf4000)
    16. libz.so.1 => /usr/lib/libz.so.1 (0x00ad9000)
    17. libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00898000)
    18. libdl.so.2 => /lib/libdl.so.2 (0x00ad3000)
    19. libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00bc4000)
    20. libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0097c000)
    21. libm.so.6 => /lib/tls/libm.so.6 (0x00aae000)
    22. libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00913000)
    23. libc.so.6 => /lib/tls/libc.so.6 (0x00e82000)
    24. libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00c7a000)
    25. /lib/ld-linux.so.2 (0x00965000)
    To copy to clipboard, switch view to plain text mode 
    Thanks in advance..

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

Similar Threads

  1. Loading library from application
    By mourad in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd April 2008, 15:10
  2. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37
  3. Replies: 3
    Last Post: 8th December 2006, 18:51

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.