Results 1 to 20 of 25

Thread: How to create package for a Qt4 application in linux..?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Feb 2006
    Posts
    157
    Qt products
    Qt3 Qt4
    Thanks
    12
    Thanked 1 Time in 1 Post

    Default Re: How to create package for a Qt4 application in linux..?

    I did build Qt4.3.4 as per the insturctions in the site ...
    http://wiki.qtcentre.org/index.php?t...c_applications

    what i did ...
    => downloaded the Qt4.3.4 soure code ( for Linux )from Trolltech site
    => created a seperated directory for like this in my home directory
    Qt-4.3.4_Static

    => typed the following commands
    1) cd Qt-4.3.4_Static [ for switching to Qt-4.3.4_Static ]
    2) ./configure -static -release -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg
    3) make sub-src
    4) su
    5) make install_qmake
    6) make install_mkspecs

    Now system created directory - "Trolltech/Qt-4.3.4/" - inside /usr/local .
    Now i want to set the PATH variable like this in /etc/profile ..
    Qt Code:
    1. PATH = "/home/myname/Qt-4.3.4_Static/bin: $PATH"
    To copy to clipboard, switch view to plain text mode 
    ....is it ok ...??


    My doubt is if in future if i want to use shared library of Qt4 ( which was default in Opensuse ) ,which is the path i need to update in the PATH variable ...?? ( because the default path of the default version of Qt4 in Opensuse is /usr/lib/qt4 ,and there is NO bin folder inside this qt4 )

    Please tell me how to switch to "Shared Qt4 Library" and "Static Qt4 Library" ...??

    Thanks in advance
    Last edited by joseph; 4th March 2008 at 11:49.

Similar Threads

  1. Create Qt Application Bundle in MacOs
    By joy in forum Installation and Deployment
    Replies: 2
    Last Post: 25th February 2008, 18:06
  2. Replies: 2
    Last Post: 9th June 2007, 19:19
  3. Two question about create an application.
    By Kenneth in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 19th March 2007, 22:21
  4. Replies: 2
    Last Post: 12th January 2007, 11:19
  5. Execution of a qt application on an arm linux device...
    By mahe2310 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 29th November 2006, 20:14

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.