|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
windows buildhi all (and now I mean Christoph),
can you provide a receipt how to compile qt4 with mysq/pgsql plugins? It looks like I'm lost now. I have set: set INCLUDE=%INCLUDE%;d:\Qt\sqlite\;D:\Qt\pgsql\include\;d:\Qt\mysql\include\ set LIB=%LIB%;d:\Qt\sqlite\;d:\Qt\pgsql\lib\;d:\Qt\mysql\lib\opt\ and config. configure.exe -plugin-sql-sqlite -system-sqlite -plugin-sql-mysql -plugin-sql-psql -plugin-sql-odbc -disable-examples -disable-demos all is compiled successfully (msvc), dlls are presented. but QSqlDatabase::drivers() outputs Driver: "QODBC3" Driver: "QODBC" only. Yep, I have set PATH to the mysql/pgsql bin dirs as well... What can be wrong? Petr ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Tora-develop mailing list Tora-develop@... https://lists.sourceforge.net/lists/listinfo/tora-develop |
|
|
Re: windows buildHi Petr,
I also had problems to get this working. One thing that may help is to delete the registry entries for the QT plugin cache at HKEY_CURRENT_USER\Software\Trolltech\OrganizationDefaults You may delete the complete trees below this; the entries will be regenerated at the next start of a program that uses a plugin. This may solve problems with QT plugin build key. Yesterday I did some tests and the configuration that worked for me was to compile QT the way you did and than copy the MySQL/PostgreSQL DLLs to the Tora installation folder and the QT SQL driver DLLs to a subfolder sqldrivers in the tora installation directory. You may also have a look at the QT DLLs with a dependency walker. Maybe some necessary DLLs are not found. Mit freundlichen Grüßen / best regards Dr. Christoph Kümmel-Schulte NMI-DC ------------------------------------------------- arvato systems GmbH An der Autobahn 18 33311 Gütersloh http://www.arvato-systems.de christoph.kuemmel-schulte@... Tel.: +49 (0) 5241 80 88557 Fax: +49 (0) 5241 80 6623 Mobil: +49 (0) 173 2608397 http://www.arvato-systems.de Geschäftsführung: Dr. Michael Pesch Amtsgericht Gütersloh - HRB 3981 -----Ursprüngliche Nachricht----- Von: tora-develop-bounces@... [mailto:tora-develop-bounces@...] Im Auftrag von Petr Vanek Gesendet: Freitag, 11. Juli 2008 12:03 An: tora-develop@... Betreff: [Tora-develop] windows build hi all (and now I mean Christoph), can you provide a receipt how to compile qt4 with mysq/pgsql plugins? It looks like I'm lost now. I have set: set INCLUDE=%INCLUDE%;d:\Qt\sqlite\;D:\Qt\pgsql\include\;d:\Qt\mysql\include\ set LIB=%LIB%;d:\Qt\sqlite\;d:\Qt\pgsql\lib\;d:\Qt\mysql\lib\opt\ and config. configure.exe -plugin-sql-sqlite -system-sqlite -plugin-sql-mysql -plugin-sql-psql -plugin-sql-odbc -disable-examples -disable-demos all is compiled successfully (msvc), dlls are presented. but QSqlDatabase::drivers() outputs Driver: "QODBC3" Driver: "QODBC" only. Yep, I have set PATH to the mysql/pgsql bin dirs as well... What can be wrong? Petr ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Tora-develop mailing list Tora-develop@... https://lists.sourceforge.net/lists/listinfo/tora-develop ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tora-develop mailing list Tora-develop@... https://lists.sourceforge.net/lists/listinfo/tora-develop |
| Free Forum Powered by Nabble | Forum Help |