Results 1 to 2 of 2

Thread: deployment issue?

  1. #1
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default deployment issue?

    i try to build a sample project (in Qt 4) to my centOS 5 and run it in centOS 4 with different version of Qt, in centOS5 i have QT4 and QT3 but in centOS4 i only have Qt3 so to avoid dependency issue i build static QT4. But when i try to run the sample project i got "floating point exception" then the program will not run.

    before i build qt4 statically, i first try to deploy my project with the libQTGui.so.4.4.0 and libQtCore.so.4.4.0 and add it to my .pro like
    Qt Code:
    1. LIBS +=-L /usr/local/Trolltech/Qt-4.4.0/lib -lQtGui -lQtCore
    To copy to clipboard, switch view to plain text mode 
    (since this are the only lib i use in relation with Qt [i use ldd]) like what i do in windows. But the same floating point exception problem.

    heres my project dependency using ldd
    linux-gate.so.1 => (0x00948000)
    libQtGui.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtGui.so.4 (0x00949000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00882000)
    libSM.so.6 => /usr/lib/libSM.so.6 (0x00110000)
    libICE.so.6 => /usr/lib/libICE.so.6 (0x00119000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00877000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x008c2000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x007a1000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00846000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x0078f000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x0068a000)
    libQtCore.so.4 => /usr/local/Trolltech/Qt-4.4.0/lib/libQtCore.so.4 (0x00133000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00668000)
    libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x0049b000)
    libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00358000)
    librt.so.1 => /lib/librt.so.1 (0x008c8000)
    libdl.so.2 => /lib/libdl.so.2 (0x00649000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x0064f000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x004d9000)
    libm.so.6 => /lib/libm.so.6 (0x00620000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x008d3000)
    libc.so.6 => /lib/libc.so.6 (0x04399000)
    libexpat.so.0 => /lib/libexpat.so.0 (0x00823000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00685000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0067d000)
    /lib/ld-linux.so.2 (0x004bd000)
    what should i do?

  2. #2
    Join Date
    Dec 2007
    Posts
    129
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: deployment issue?

    i still dont know how to solve this problem, anything i build on centos4 will run on centos5 (they both have qt) .. how ever anything i build on centos5 will not run on centos4

    it has this "floating point exeception".

    Maybe it is because from the library of centos itself but i dont know how to statically linked the application to the library of centos for ex. the libc.so.

Similar Threads

  1. VS2005 Deployment Problem
    By musaulker in forum Installation and Deployment
    Replies: 6
    Last Post: 20th July 2008, 19:43
  2. QT/mySQL deployment issue
    By smtgra011 in forum Installation and Deployment
    Replies: 4
    Last Post: 1st July 2007, 20:31
  3. qt application deployment issue?
    By vishal.chauhan in forum Installation and Deployment
    Replies: 0
    Last Post: 1st May 2007, 06:09
  4. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  5. Replies: 5
    Last Post: 22nd September 2006, 08:04

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.