Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2011-06

Release V2.3

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Den Jean

Hi,

Release V2.3 of the Free Pascal Qt4 Binding is available here: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html

Changes V2.3
* Added QSessionManager.
* Added platform dependant signals (like saveStateRequest from QApplication)
* Added support for Haiku in qmake project file.
* Qt 4.5 to Qt 4.7 support
* based on classes/methods available in Qt 4.5
* but also compiles with Qt 4.7 and adds -mstackrealign when appropriate.
* removed QMenu::macMenu: Not present Qt 4.7 binaries, but present in Qt 4.5
* Fix for crash of Lazarus compiled with Range Checking On (Lazarus Bug #16448).
* Windows Note: Qt 4.5 and Qt 4.7 use different MinGW versions -> Different c++ compiler and dll dependancies.
-> You cannot use the binding binary compiled for one with the other. -> Qt 4.7 binaries from Nokia, require a binding binary compiled with -mstackrealign, note that the Qt 4.5 MinGW compiler does not know nor accepts this compiler option.
* Linux Note: In general, due to binary compatibility differences between the different c++ compilers of the different Linux distributions, you should not use the provided binaries but compile yourself the binding on your distribution. The binaries are just provided for convenience but may not work on your specific distribution.
* Mac OsX Note: The provided binary was created with XCode 3 on Mac OsX 10.5

kind regards,

Den Jean

zeljko
to Den Jean
Den Jean wrote 29 lines
Hi, Release V2.3 of the Free Pascal Qt4 Binding is available here: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html Changes V2.3 * Added QSessionManager. * Added platform dependant signals (like saveStateRequest from QApplication) * Added support for Haiku in qmake project file. * Qt 4.5 to Qt 4.7 support * based on classes/methods available in Qt 4.5 * but also compiles with Qt 4.7 and adds -mstackrealign when appropriate. * removed QMenu::macMenu: Not present Qt 4.7 binaries, but present in Qt 4.5 * Fix for crash of Lazarus compiled with Range Checking On (Lazarus Bug #16448). * Windows Note: Qt 4.5 and Qt 4.7 use different MinGW versions -> Different c++ compiler and dll dependancies. -> You cannot use the binding binary compiled for one with the other. -> Qt 4.7 binaries from Nokia, require a binding binary compiled with -mstackrealign, note that the Qt 4.5 MinGW compiler does not know nor accepts this compiler option. * Linux Note: In general, due to binary compatibility differences between the different c++ compilers of the different Linux distributions, you should not use the provided binaries but compile yourself the binding on your distribution. The binaries are just provided for convenience but may not work on your specific distribution. * Mac OsX Note: The provided binary was created with XCode 3 on Mac OsX 10.5

Great ! Thanks :)
One question: why some constructors for QVariant and QString are removed ? Also removed
QLCLTreeWidgetItem_data_Override = procedure (column: Integer; role: Integer; retval: QVariantH) of object cdecl;

Is it removed by mistake or what ?

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20110617/1dd7a192/attachment.html>

Den Jean
to zeljko
zeljko wrote
Great ! Thanks :) One question: why some constructors for QVariant and QString are removed ?

The parameters of Qt Methods are converted from Qt types to pascal types. Sometimes different Qt types are converted to the same pascal type because these types all have the same physical size. In the case of many Qt methods with the same name and similar types, this leads to identical pascal methods in name and parameters. So some should be removed.

The ones that are removed caused problems with other contructors that are new in Qt 4.7. QVariant and QString have many constructors.

Also removed QLCLTreeWidgetItem_data_Override = procedure (column: Integer; role: Integer; retval: QVariantH) of object cdecl; Is it removed by mistake or what ?

This is procedural type and not a Qt method that can be called. It is a leftover from an abandoned request for a QLCLTreeWidgetItem. http://lists.lazarus.freepascal.org/pipermail/qt/2009-November/001368.html It was removed intentionally to clean things up. It is not used.

regards,

Den Jean

Matthias Klumpp
to Den Jean

Can this library be used with Lazarus 0.9.28? If yes, I'll package it for Debian, as it can be used with the Lazarus apps currently in Debian. If no, I would have to wait for a fixed Lazarus version. Could you please tell me if I can use the lib there? (Symbols removed does not sound nice... ;))
Greetings
Matthias

Den Jean wrote
On Friday 17 June 2011 08:33:11 zeljko wrote: > Great ! Thanks :) > One question: why some constructors for QVariant and QString are

removed

> ? The parameters of Qt Methods are converted from Qt types to pascal

types.

Show quoted text 17 lines
Sometimes different Qt types are converted to the same pascal type because these types all have the same physical size. In the case of many Qt methods with the same name and similar types, this leads to identical pascal methods in name and parameters. So some should be removed. The ones that are removed caused problems with other contructors that are new in Qt 4.7. QVariant and QString have many constructors. > Also removed > QLCLTreeWidgetItem_data_Override = procedure (column: Integer; role: > Integer; retval: QVariantH) of object cdecl; > Is it removed by mistake or what ? This is procedural type and not a Qt method that can be called. It is a leftover from an abandoned request for a QLCLTreeWidgetItem.

http://lists.lazarus.freepascal.org/pipermail/qt/2009-November/001368.html

Show quoted text 10 lines
It was removed intentionally to clean things up. It is not used. regards, Den Jean _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt
Den Jean
to Matthias Klumpp
Matthias Klumpp wrote
Can this library be used with Lazarus 0.9.28? If yes, I'll package it for Debian, as it can be used with the Lazarus apps currently in Debian. If no, I would have to wait for a fixed Lazarus version. Could you please tell me if I can use the lib there?

It is compatible and also a small improvement (the bug fix)

(Symbols removed does not sound nice... ;))

Symbols that are not used by the Lazarus code.

zeljko
to Matthias Klumpp: Can this library be used with Lazarus 0.9.28? If yes, I'll package it for Debian, as it…
Matthias Klumpp wrote 6 lines
Can this library be used with Lazarus 0.9.28? If yes, I'll package it for Debian, as it can be used with the Lazarus apps currently in Debian. If no, I would have to wait for a fixed Lazarus version. Could you please tell me if I can use the lib there? (Symbols removed does not sound nice... ;)) Greetings

Yesterday I've removed /usr/lib/libQt4Pas.so.5.2.1 and added libQt4Pas.so.5.2.3 and lazarus worked without problem. So I guess if there's symbol problem it will be shown imediatelly.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20110618/a0c6e687/attachment.html>

Matthias Klumpp
to zeljko
zeljko wrote
On Friday 17 of June 2011 18:40:38 Matthias Klumpp wrote: > Can this library be used with Lazarus 0.9.28? If yes, I'll package it

for

Show quoted text 10 lines
> Debian, as it can be used with the Lazarus apps currently in Debian. > If no, I would have to wait for a fixed Lazarus version. > Could you please tell me if I can use the lib there? (Symbols removed > does > not sound nice... ;)) > Greetings Yesterday I've removed /usr/lib/libQt4Pas.so.5.2.1 and added libQt4Pas.so.5.2.3 and lazarus worked without problem. So I guess if there's symbol problem it will be shown imediatelly.

Okay - means this stuff will be available in Debian/Ubuntu soon :) Thanks!

zeljko
to Matthias Klumpp
Matthias Klumpp wrote 19 lines
On Sat, 18 Jun 2011 09:33:59 +0200, zeljko wrote: > On Friday 17 of June 2011 18:40:38 Matthias Klumpp wrote: >> Can this library be used with Lazarus 0.9.28? If yes, I'll package it for >> Debian, as it can be used with the Lazarus apps currently in Debian. >> If no, I would have to wait for a fixed Lazarus version. >> Could you please tell me if I can use the lib there? (Symbols removed >> does >> not sound nice... ;)) >> Greetings > > Yesterday I've removed /usr/lib/libQt4Pas.so.5.2.1 and added > libQt4Pas.so.5.2.3 and lazarus worked without problem. > So I guess if there's symbol problem it will be shown imediatelly. Okay - means this stuff will be available in Debian/Ubuntu soon :) Thanks!

I'm planning to add new bindings into lazarus trunk next weekend.

zeljko

Show quoted text 6 lines
_______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20110620/e90692d1/attachment.html>