Qt-interest Archive, March 2007
Re: Installing QT 4.2.2 on Suse 10
Message 1 in thread
On Wed, Feb 28, Karl Ruetz wrote:
> I am attempting to install QT 4.2.2 on a Suse Linux 10 machine. There is
> already a working installation of QT 4.1.1 on this system. I get an error
> when I run configure. Here is how I'm calling configure:
>
You could simply install it with YaST:
Add a new installation source:
Server: repos.opensuse.org
Directory: /KDE:/Qt/openSUSE_10.2/
Protocol: HTTP
or just:
http://software.opensuse.org/download/KDE:/Qt/
Uwe
--
[ signature omitted ]
Message 2 in thread
I've never installed QT using YaST. Is it possible to turn on support
MySQL, pgsql, and gif from there?
Thanks for the help.
-----Original Message-----
From: Uwe Drechsel (@vym) [mailto:vym@xxxxxxxxxxxxx]
Sent: Thursday, March 01, 2007 2:48 AM
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: Installing QT 4.2.2 on Suse 10
On Wed, Feb 28, Karl Ruetz wrote:
> I am attempting to install QT 4.2.2 on a Suse Linux 10 machine. There is
> already a working installation of QT 4.1.1 on this system. I get an error
> when I run configure. Here is how I'm calling configure:
>
You could simply install it with YaST:
Add a new installation source:
Server: repos.opensuse.org
Directory: /KDE:/Qt/openSUSE_10.2/
Protocol: HTTP
or just:
http://software.opensuse.org/download/KDE:/Qt/
Uwe
--
[ signature omitted ]
Message 3 in thread
On Thu, Mar 01, Karl Ruetz wrote:
> I've never installed QT using YaST. Is it possible to turn on support
> MySQL, pgsql, and gif from there?
>
gif works (just tested). There are are extra packages for the databases,
e.g. I currently have
uwe@salam:~/ > rpm -qa | grep qt4
libqt4-sql-4.2.2-20.1
libqt4-sql-mysql-4.2.2-23.1
libqt4-x11-4.2.2-20.1
libqt4-sql-postgresql-4.2.2-23.1
libqt4-devel-doc-4.2.2-20.1
libqt4-debuginfo-4.2.2-20.1
libqt4-sql-unixODBC-4.2.2-23.1
libqt4-dbus-1-4.2.2-20.1
libqt4-devel-4.2.2-20.1
libqt4-devel-doc-data-4.2.2-21.1
libqt4-qt3support-4.2.2-20.1
libqt4-sql-sqlite-4.2.2-23.1
libqt4-4.2.2-20.1
Uwe
--
[ signature omitted ]
Message 4 in thread
Hi,
> After a few entries, I get the following error:
> In file included from
> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qlibraryinfo.cpp:37:
> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:2: error:
> missing terminating " character
>
> I then get a bunch of lines that look like this:
> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:3: error:
> stray '\' in program
> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:3: error:
> stray '\' in program
File qconfig.cpp is created by configure. Could you show us file
config.cpp file (after configure has been run)?
--
[ signature omitted ]
Message 5 in thread
When I checked the qconfig.cpp file, I found a control-M after my name in
the licensee line. So I did the following:
1. Removed the QT 4.2.2 source tree.
2. Reunpacked the QT 4.2.2 source tree.
3. Verified the contents of my license file were okay.
4. Ran configure.
5. When configure asked me to agree to the license, I listed my home
directory again. I found a new .qt-license-temp file that must have been
created by configure. In that file, the first character on each line had
been replaced by quotation mark.
6. I let configure go ahead and fail as before.
7. I edited the qconfig.cpp file and removed the control-M after my name in
the license line.
8. I ran configure again and it seemed to run normally. The gmake is
running as I write this.
I have reported these findings to Trolltech as a bug.
Thanks for your advice and help.
Dimitri writes:
> Hi,
>
>> After a few entries, I get the following error:
>> In file included from
>> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qlibraryinfo.cpp:37:
>> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:2: error:
>> missing terminating " character
>>
>> I then get a bunch of lines that look like this:
>> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:3: error:
>> stray '\' in program
>> /tmp/qt-x11-commercial-src-4.2.2/src/corelib/global/qconfig.cpp:3: error:
>> stray '\' in program
>
> File qconfig.cpp is created by configure. Could you show us file
> config.cpp file (after configure has been run)?
>
> --
> Dimitri
--
[ signature omitted ]
Message 6 in thread
Hi,
> When I checked the qconfig.cpp file, I found a control-M after my name
> in the licensee line. So I did the following:
Ah! The license file could have been copied from Windows. Or something
like that.
--
[ signature omitted ]