Results 1 to 7 of 7

Thread: Installation of 2 Qt version on a Single System

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Installation of 2 Qt version on a Single System

    Hi All,

    I m using Mac Intel with my Qt.
    Actually I m using Qt 4.2.2 commercial Edition In which I m unable to provide support for the Gif Images with its dmg install file.

    So I want to Install Qt 4.2.3 open Source Edition for Gif Support.

    Is it possible to install two Qt version on the Same system.
    If any body knows then plz help me.

    Thanks.

  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

    Default Re: Installation of 2 Qt version on a Single System

    Yes, it's possible, just provide another install directory. Please note that you can't use the OpenSource version for commercial development. I suggest to do it the proper way and download sources of the commercial editon.

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Installation of 2 Qt version on a Single System

    I don't like the commercial package for the Mac, because it splits up Qt and installs it to different locations. This makes it very hard to use two different versions. Instead I build it from sources. By default it will install to /usr/local/Trolltech/Qt-x.y.z. Then you can have multiple versions. For the Mac I commonly have a development debug version, and a static release version for easy deployment.

    If you're building from sources, adding GIF support is a snap. Just add the "-qt-gif" option to configure.

  4. #4
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Re: Installation of 2 Qt version on a Single System

    Thanks for Repling.

    But then after Installing Both Qt Is it possible that I will compile my project with both Qt compiler.

    Because I want to work with the Commercial version but want to comile my Project with the version with Gif support.

    Thanks.

  5. #5
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Installation of 2 Qt version on a Single System

    Quote Originally Posted by vishal.chauhan View Post
    Because I want to work with the Commercial version but want to comile my Project with the version with Gif support.
    The commercial version has support for GIF! You just need to rebuild it. Download the sources and read the INSTALL file. It is not that hard.

  6. #6
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Re: Installation of 2 Qt version on a Single System

    Actually I m using .dmg for Installation.

    It is Binary version and has Setup to Install Qt.

  7. #7
    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

    Default Re: Installation of 2 Qt version on a Single System

    So don't use the dmg and download the sources as suggested a few times in this and other thread. You can probably download it from http://www.trolltech.com/customer/

    Brandybuck, please tell him where to download the sources from

  8. The following user says thank you to wysota for this useful post:

    vishal.chauhan (13th March 2007)

Similar Threads

  1. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  2. do Qt4 installation depends on gcc version
    By quickNitin in forum Installation and Deployment
    Replies: 3
    Last Post: 3rd October 2006, 06: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.