[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Use QSql (SQLite)
From:       Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date:       2009-07-15 8:19:40
Message-ID: 200907151237.48601.mehrdad.momeny () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


>i once had trouble compiling Qt with postgresql driver, and the only solution
>I found is linking it statically into QtSql dll.
I tried to link against the C:\\KDE\\lib\\libQtSql4.a and even mention the path to plugin dll (C:
\\KDE\\plugins\\sqldrivers\\qsqlite4.dll) into CMake target_link_libraries . But nothing :(

>check that the qt.conf that should be within your KDE directory shows the correct paths to the
> plugins directory. This is is most likely not the case.
>regards,
>Patrick

My qt.conf contents:

[Paths]
Prefix=
Documentation=../doc
Headers=../include
Libraries=../lib
Binaries=
Plugins=../plugins
Data=..
Translations=../translations
Settings=../etc
Examples=../examples
Demos=../demos

When there is a qsqlite4.dll in $KDEDIR/plugins/sqldrivers


Thanks for your help
Mehrdad

[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" \
content="1" /><style type="text/css">p, li { white-space: pre-wrap; \
}</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; \
font-weight:400; font-style:normal;">&gt;i once had trouble compiling Qt with \
postgresql driver, and the only solution<br> &gt;I found is linking it statically \
into QtSql dll.<br> I tried to link against the C:\\KDE\\lib\\libQtSql4.a and even \
mention the path to plugin dll (C:\\KDE\\plugins\\sqldrivers\\qsqlite4.dll) into \
CMake target_link_libraries . But nothing :(<br> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt;check that the \
qt.conf that should be within your KDE directory shows the correct paths to the<br> \
&gt; plugins directory. This is is most likely not the case.<br> &gt;regards,<br>
&gt;Patrick<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>My qt.conf contents:<br> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>[Paths]<br> Prefix=<br>
Documentation=../doc<br>
Headers=../include<br>
Libraries=../lib<br>
Binaries=<br>
Plugins=../plugins<br>
Data=..<br>
Translations=../translations<br>
Settings=../etc<br>
Examples=../examples<br>
Demos=../demos<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>When there is a qsqlite4.dll in \
$KDEDIR/plugins/sqldrivers<br> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks for your \
help<br> Mehrdad</p></body></html>


["signature.asc" (application/pgp-signature)]

_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic