Thank you,
I tried what you suggested but I get the same answer when I run the application..
Is there another step to do?
Could it be somthing like it is not finding the lib??
Thank you
Thank you,
I tried what you suggested but I get the same answer when I run the application..
Is there another step to do?
Could it be somthing like it is not finding the lib??
Thank you
Just to assure, you did the "make install" step too, right? What's the contents of /path/to/qt/plugins/sqldrivers?
J-P Nurmi
No, I did not "make install", because on that machine I had not root privileges..
anyway I did ./configure -prefix-install..
Here is the list of files in that folder:
libqsqlite.so
libqsqlite.so.debug
libqsqlmysql.so
libqsqlmysql.so.debug
libqsqlpsql.so
libqsqlpsql.so.debug
Thanks
Hmm, what does
output? Those plugins are in <output>/sqldrivers right? And what doesqmake -query QT_INSTALL_PLUGINS
output?ldd libqsqlpsql.so
J-P Nurmi
IN: qmake -query QT_INSTALL_PLUGINS
OUT:
/usr/local/Trolltech/Qt-4.3.3/plugins
mmhh strange ..that's not correct!!! it is a wrong path..
IN: ldd libqsqlpsql.so
OUT:
libpq.so.4 => /usr/lib/libpq.so.4 (0x004f9000)
libQtSql.so.4 => /home/fmas/qt-x11-opensource-src-4.3.3/lib/libQtSql.so.4 (0x00ad9000)
libQtCore.so.4 => /home/fmas/qt-x11-opensource-src-4.3.3/lib/libQtCore.so.4 (0x00d1e000)
libz.so.1 => /usr/lib/libz.so.1 (0x002c5000)
librt.so.1 => /lib/tls/librt.so.1 (0x00381000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00323000)
libdl.so.2 => /lib/libdl.so.2 (0x00f7c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x008d2000)
libm.so.6 => /lib/tls/libm.so.6 (0x00c09000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003cf000)
libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
libssl.so.4 => /lib/libssl.so.4 (0x0023c000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x003d7000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00515000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x002d5000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00729000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00813000)
/lib/ld-linux.so.2 (0x005f9000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00777000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00270000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00b6d000)
How do you justify this??
Thank you for your reply
The Path /usr/local/Trolltech/Qt-4.3.3/plugins
does not exist..
How do make sure It will be find the righ path?
Bookmarks