QT errors compiling my app lazarus / 1-Linux ---------------------------------------------------------------------- NelsonN · 2011-02-10 14:21 I followed the instructions to setup QT for Lazarus, yet I get these compiling errors. The version of Linux is OpenSUSE 11.3, Lazarus 9.29, FPC 2.4.2. Code: [Select]usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/lib/libQt4Pas.so: undefined reference to `QString::isRightToLeft() const' /usr/lib/libQt4Pas.so: undefined reference to `QListData::detach_grow(int*, int)' /usr/lib/libQt4Pas.so: undefined reference to `QListData::detach(int)' project1.lpr(25,1) Error: Error while linking Libraries were placed in the right spot and can be found. Code: [Select]ldconfig -p | grep Qt4 libQt4Pas.so.5 (libc6) => /usr/lib/libQt4Pas.so.5 libQt4Pas.so (libc6) => /usr/lib/libQt4Pas.so Any help appreciated. ---------------------------------------------------------------------- zeljko · 2011-02-10 15:14 1.Check your system qt version (rpm -qa | grep qt) - afaik it should be qt-4.7.1 2.if it's qt-4.7.1, then you must download bindings (libQt4Pas) compiled with -mstackrealign (qt-4.7.XX compatibile), otherwise if qt < 4.7.0 go to step 3. 3.make bigideclean 4.now build your laz. ---------------------------------------------------------------------- NelsonN · 2011-02-10 16:56 OK, thanks.