Results 1 to 8 of 8

Thread: installation of qt4.2: linux

  1. #1
    Join Date
    Mar 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default installation of qt4.2: linux

    Hi,

    I thought I would give my feedback on the install of qt4.2.
    I downloaded qt-x11-opensource-src-4.20-rcl.tar.gz
    last night and did the install. I had a few problems.

    I installed on a Fedora Core 3 laptop.
    1. ./configure with no options generated many errors
    that related to a line in .qmake.cache of the form
    --cflags = [ stuff]

    This line caused an error in everything. Looking at the
    compile commands later, you could see the include paths
    were wrong which was why none of the Qt classes were being found.
    These lines had a libmsql in them. So I thought I would
    try to add mysql support directly.

    2. ./configure -qt-sql-mysql failed because my mysql was too old
    (I do have FC 3 after all).

    3. ./configure -no-sql-mysql set up the configuration properly
    and the install was then successful.

    I believe the configure script was confused by my old mysql edition
    and failed in a less than graceful manner. This error probably wouldn't
    show up if you compiled on a new FC setup.

    I have Qt3 (standard in FC3), Qt4.1 and now Qt4.2 installed on this
    laptop. All the demos in the Qt4.2 install seem to work fine.

  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 qt4.2: linux

    What is the "-rcl" suffix? Where did you download it from?

  3. #3
    Join Date
    Mar 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: installation of qt4.2: linux

    Downloaded from

    http://www.trolltech.com/developer/downloads/qt/qt42-rc

    using the qt-x11 site.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: installation of qt4.2: linux

    Could you try the latest stable version (4.2.2) instead of the release candidate?
    http://www.trolltech.com/developer/downloads/qt/x11
    J-P Nurmi

  5. #5
    Join Date
    Mar 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: installation of qt4.2: linux

    I have also installed qt-x11-opensource-src-4.20-rcl.tar.gz
    on my Fedora Core 6 node. That install went well using all the defaults.

    I was aware of the stable version but I am interested in various
    features of the beta. As usual, the code snippets in the examples
    and the tutorials are quite informative. I copy them to my work space,
    alter the .pro file as necessary and then study them as parts of my own
    code projects.

  6. #6
    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 qt4.2: linux

    But the beta you are using is obsolete now, so why not use a fully working product instead?

  7. #7
    Join Date
    Mar 2007
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: installation of qt4.2: linux

    Point taken. Will install stable version.
    Normally, the stable version of a piece of software is
    not as cutting edge. Indeed, it seemed from the website
    that downloading the rc edition was best.
    However, the rc version seems quite fine.

  8. #8
    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 qt4.2: linux

    Quote Originally Posted by Jim Peterson View Post
    Point taken. Will install stable version.
    Normally, the stable version of a piece of software is
    not as cutting edge.
    But a stable version will more more cutting edge than an *old* release candidate.

Similar Threads

  1. InstallBuilder for Qt - Multiplatform installation tool
    By bitrock in forum Qt-based Software
    Replies: 5
    Last Post: 21st September 2007, 17:56
  2. Opacity in Linux OS
    By shyam prasad in forum Qt Programming
    Replies: 2
    Last Post: 22nd May 2007, 05:59
  3. Qt4.2 installation error
    By nimmyj in forum Installation and Deployment
    Replies: 3
    Last Post: 15th December 2006, 14:19
  4. errors while installing Qt4.2 in Linux
    By nimmyj in forum Installation and Deployment
    Replies: 11
    Last Post: 13th December 2006, 11:58
  5. QT 3 (linux) to 4(windows XP)
    By deekayt in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 18:30

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.