[Qt] Qt4 Binding V2.4 does not work on main Linux distros

Juha Manninen juha.manninen62 at gmail.com
Sat Nov 5 20:54:42 CET 2011


I get the access violation right away also with a new OpenSuse 12.1:

...
TFPCTargetConfigCache.Update: has changed
TApplication.HandleException Access violation
  Stack trace:
  $B5220C2C
QPaintDevice: Cannot destroy paint device that is being painted
QPaintDevice: Cannot destroy paint device that is being painted
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $B5220C2C
TApplication.HandleException: there was another exception during showing
the first exception
  Stack trace:
  $B5220C2C


Now, I think the binaries for qt4pas-v2.4 are wrong somehow.
v2.1 still works. See:

juha at linux-7r9g:~/pack> ls -l bin*
-rw-r--r-- 1 juha users 948741 marra  5 17:12 bin-qt4pas-V2.1_Qt4.7.X.tar.gz
-rw-r--r-- 1 juha users 778996 marra  5 17:12 bin-qt4pas-V2.4_Qt4.5.3.tar.gz

bin-qt4pas-V2.1_Qt4.5.3:
total 4180
-rw-r--r-- 1 juha users     959 helmi 19  2010 COPYING.TXT
lrwxrwxrwx 1 juha users      18 marra 29  2010 libQt4Pas.so ->
libQt4Pas.so.5.2.1
lrwxrwxrwx 1 juha users      18 marra 29  2010 libQt4Pas.so.5 ->
libQt4Pas.so.5.2.1
lrwxrwxrwx 1 juha users      18 marra 29  2010 libQt4Pas.so.5.2 ->
libQt4Pas.so.5.2.1
-rwxr-xr-x 1 juha users 2992924 marra 29  2010 libQt4Pas.so.5.2.1
-rw-r--r-- 1 juha users 1276138 helmi 19  2010 qt4.pas
-rw-r--r-- 1 juha users     784 helmi 19  2010 README.TXT

bin-qt4pas-V2.4_Qt4.5.3:
total 3464
-rw-r--r-- 1 juha users    8669 heinä  7 17:55 COPYING.TXT
lrwxrwxrwx 1 juha users      18 heinä  7 17:55 libQt4Pas.so ->
libQt4Pas.so.5.2.4
lrwxrwxrwx 1 juha users      18 heinä  7 17:55 libQt4Pas.so.5 ->
libQt4Pas.so.5.2.4
lrwxrwxrwx 1 juha users      18 heinä  7 17:55 libQt4Pas.so.5.2 ->
libQt4Pas.so.5.2.4
-rwxr-xr-x 1 juha users 2238928 heinä  7 17:55
libQt4Pas.so.5.2.4

-rw-r--r-- 1 juha users 1289721 heinä  7 17:55
qt4.pas

-rw-r--r-- 1 juha users     962 heinä  7 17:55
README.TXT


---

Note the mismatch with "Qt4.5.3" and "Qt4.7.X" between the package and
directory names.
Also note that the new v2.4 binary is much smaller than the old v2.1. It
can't be right. The packages were downloaded today from the "official" site.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20111105/0a262d02/attachment-0002.html>


More information about the Qt mailing list