PDA

View Full Version : installation of qt4.2: linux



Jim Peterson
1st March 2007, 14:39
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.

wysota
1st March 2007, 15:30
What is the "-rcl" suffix? Where did you download it from?

Jim Peterson
1st March 2007, 17:51
Downloaded from

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

using the qt-x11 site.

jpn
1st March 2007, 19:48
Could you try the latest stable version (4.2.2) instead of the release candidate?
http://www.trolltech.com/developer/downloads/qt/x11

Jim Peterson
2nd March 2007, 13:59
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.

wysota
2nd March 2007, 14:18
But the beta you are using is obsolete now, so why not use a fully working product instead?

Jim Peterson
2nd March 2007, 15:53
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.

Brandybuck
2nd March 2007, 19:03
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.