Changeset 824


Ignore:
Timestamp:
Nov 18, 2010, 2:14:44 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

README.OS2: Add a note about OpenSSL DLLs neccessary for MySQL and PostgresSQL Qt plugins to work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.OS2

    r817 r824  
    8181
    8282    Note that you will also need the above OpenSSL libraries and pthread.lib to
    83     be able to use this MySQL build.
     83    be able to use this MySQL build. The MySQL Qt plugin itself will require
     84    OpenSSL DLLs in your LIBPATH at runtime.
    8485
    8586  - PostgersSQL 9.0.1 or later to support the PostgresSQL Qt plugin. The
     
    9192
    9293      http://download.smedley.info/libc064x.zip
     94
     95    Note that you will also need the above OpenSSL libraries and pthread.lib to
     96    be able to use this PostgresSQL build. The PostgresSQL Qt plugin itself will
     97    require OpenSSL DLLs in your LIBPATH at runtime.
    9398
    9499
     
    191196      set MYSQL_LIBS=-L<path_to_MySQL>\lib -lmysqlclient_r -L<path_to_OpenSSL>\lib -llibssl -llibcrypto -L<path_to_pthread> -lpthread
    192197
     198    Note that you will also need to place OpenSSL DLLs to BEGINLIBPATH (as
     199    described above) because the MySQL plugin links statically to them and Qt
     200    will not be able to load it otherwise.
     201
    193202  - Unzip the PostgresSQL archive to some directory and set the following
    194203    environment variables to tell the Qt configure script the library location:
     
    196205      set PSQL_INCLUDEPATH=<path_to_PostgresSQL>\include'
    197206      set PSQL_LIBS=-L<path_to_PostgresSQL>\lib -llibpq -L<path_to_OpenSSL>\lib -llibssl -llibcrypto -L<path_to_pthread> -lpthread
     207
     208    Note that you will also need to place OpenSSL DLLs to BEGINLIBPATH (as
     209    described above) because the PostgresSQL plugin links statically to them and
     210    Qt will not be able to load it otherwise.
     211
     212Note that you need to make sure that OpenSSL DLLs are in BEGINLIBPATH or in
     213LIBPATH before Qt attempts to load the SQL plugins for the first time. If it
     214fails to load them, it will cache a failure and will not retry even if the
     215plugins can be loaded later. To fix that, you need to delete the file
     216%HOME%\.config\Trolltech.ini where this cache is stored.
    198217
    199218
Note: See TracChangeset for help on using the changeset viewer.