Trolltech Home | QSA-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

QSA-interest Archive, August 2006
Re: qsa-x11-opensource-1.2.1 not compatible with qt-4.2.0-tp1 (?)


Message 1 in thread

Rex Dieter wrote:
> qsa-x11-opensource-1.2.1 is (apparently) not compatible with qt-4.2.0-tp1:
> 
> $ qmake -version
> QMake version 2.01a
> Using Qt version 4.2.0-tp1 in /usr/lib
> 
> $ ./configure -release
> Using Qt library in /usr/lib/qt4.
> Trying my best without a .qmake.cache file
> Building 2nd stage configure
> 
> QSA is not compatible with your Qt edition
> 
> When will a qt-4.2.0-compatible qsa be available?
> (This same procedure works when using qt4-4.1.4)

This happens because the the tech preview is under a special preview 
license which is not handled by the QSA configure tool. This will not 
happen for the final version of Qt, so Qt 4.2.0 will work with QSA out 
of the box.

-
Gunnar

To unsubscribe - send "unsubscribe" in the subject to qsa-interest-request@xxxxxxxxxxxxx


Message 2 in thread

Gunnar Sletta wrote:

> Rex Dieter wrote:
>> qsa-x11-opensource-1.2.1 is (apparently) not compatible with
>> qt-4.2.0-tp1:
>> 
>> $ qmake -version
>> QMake version 2.01a
>> Using Qt version 4.2.0-tp1 in /usr/lib
>> 
>> $ ./configure -release
>> Using Qt library in /usr/lib/qt4.
>> Trying my best without a .qmake.cache file
>> Building 2nd stage configure
>> 
>> QSA is not compatible with your Qt edition
>> 
>> When will a qt-4.2.0-compatible qsa be available?
>> (This same procedure works when using qt4-4.1.4)
> 
> This happens because the the tech preview is under a special preview
> license which is not handled by the QSA configure tool. This will not
> happen for the final version of Qt, so Qt 4.2.0 will work with QSA out
> of the box.

thanks.  For the record, attached is a quick-n-dirty patch.

-- Rex
--- qsa-x11-opensource-1.2.1/configure2/configutils.cpp.preview	2006-02-28 07:21:15.000000000 -0600
--- qsa-x11-opensource-1.2.1/configure2/configutils.cpp.preview	2006-02-28 07:21:15.000000000 -0600
+++ qsa-x11-opensource-1.2.1/configure2/configutils.cpp	2006-08-01 06:34:07.000000000 -0500
@@ -372,6 +372,8 @@
         qtLicense = Universal;
     } else if (qtEdition == QLatin1String("OpenSource")) {
         qtLicense = GPL;
+    } else if (qtEdition == QLatin1String("Preview")) {
+        qtLicense = GPL;
     } else {
         message(QLatin1String("\nQSA is not compatible with your Qt edition\n"));
         return false;