Sign in Join

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

Mailing lists / lazarus / 2011-10

Lazarus 0.9.30.1 failing to link for Qt4

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

I'm using FPC 2.5.1 latest from svn. I can't compile the Lazarus IDE as a 64-bit executable using LCL-Qt. I get the following error.

I'm using the latest "Qt4 for FPC" v2.4_Qt4.5.3. I previous used v2.1_qt4.5.3, and that worked, but upgrading to v2.4 is now failing.

----8<-------------8<-------------8<-------------8<-------------8<---- /usr/lib64/libQt4Pas.so: undefined reference to `QListData::detach(int)' /usr/lib64/libQt4Pas.so: undefined reference to
`QString::isRightToLeft() const'
/usr/lib64/libQt4Pas.so: undefined reference to
`QListData::detach_grow(int*, int)'
/opt/lazarus-0.9.30/ide/lazarus.pp(130,1) Error: Error while linking /opt/lazarus-0.9.30/ide/lazarus.pp(130,1) Fatal: There were 1 errors compiling module, stopping
----8<-------------8<-------------8<-------------8<-------------8<----

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Marco van de Voort
to Graeme Geldenhuys
Graeme Geldenhuys wrote 18 lines
Hi, I'm using FPC 2.5.1 latest from svn. I can't compile the Lazarus IDE as a 64-bit executable using LCL-Qt. I get the following error. I'm using the latest "Qt4 for FPC" v2.4_Qt4.5.3. I previous used v2.1_qt4.5.3, and that worked, but upgrading to v2.4 is now failing. ----8<-------------8<-------------8<-------------8<-------------8<---- /usr/lib64/libQt4Pas.so: undefined reference to `QListData::detach(int)' /usr/lib64/libQt4Pas.so: undefined reference to `QString::isRightToLeft() const' /usr/lib64/libQt4Pas.so: undefined reference to `QListData::detach_grow(int*, int)' /opt/lazarus-0.9.30/ide/lazarus.pp(130,1) Error: Error while linking /opt/lazarus-0.9.30/ide/lazarus.pp(130,1) Fatal: There were 1 errors compiling module, stopping ----8<-------------8<-------------8<-------------8<-------------8<----

Sounds to me like a qtpas qt version mismatch, and outside the Lazarus realm.

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote
Sounds to me like a qtpas qt version mismatch, and outside the Lazarus realm.

I reverted my 32-bit and 64-bit code back to the Qt bindings v2.1, and now Lazarus links fine again. It will have to do for now, thanks anyway.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email