[Qgis-developer] QGIS 1.7.0.1, eVis plugin using Sqlite /
Spatialite and Mac OS X
Noli Sicad
nsicad at gmail.com
Fri Oct 28 19:32:12 EDT 2011
Hi William,
Thanks for replying.
I just wait for your Qt Extra that includes QSQLITE driver. I don't to
break my spatialite in QGIS.
Looking forward your new package.
Thanks.
Noli
On 10/29/11, William Kyngesburye <woklist at kyngchaos.com> wrote:
> I'll add it to my list of Qt extras to bundle in the app. Since it's a
> requirement, I'll try to get an update out this weekend.
>
> You could install it yourself, but it's tricky - you don't want to install
> Qt and copy qsqlite into Qgis, it'll still reference the now-installed Qt
> and cause Qgis to crash because of multiple loaded Qt's. Pacifist would
> allow you to extract qsqlite without installing all of Qt.
>
> On Oct 28, 2011, at 2:33 AM, Noli Sicad wrote:
>
>> Which version of QGIS and platform has support for Qt sqlite driver
>> (i.e. QSQLITE)?
>>
>> http://doc.qt.nokia.com/stable/sql-driver.html#qsqlite
>>
>> Noli
>>
>> On 10/28/11, Noli Sicad <nsicad at gmail.com> wrote:
>>> Hi,
>>>
>>> It seems that it needs - qsqlite.
>>>
>>> #################################
>>> ...
>>> }
>>> else if ( QSQLITE == databaseType( ) && !mDatabase.contains( "sqlite" )
>>> )
>>> {
>>> mDatabase = QSqlDatabase::addDatabase( "QSQLITE", "sqlite" );
>>> }
>>> else if ( QSQLITE == databaseType( ) )
>>> {
>>> mDatabase = QSqlDatabase::database( "sqlite" );
>>> }
>>> else
>>> {
>>> setLastError( "No matching DATABASE_TYPE found" );
>>> return false;
>>> }
>>>
>>> https://svn.osgeo.org/qgis/trunk/qgis/src/plugins/evis/databaseconnection/evisdatabaseconnection.cpp
>>>
>>> ########################
>>>
>>> Now, how can we install qsqlite driver in Mac OS X?
>>>
>>> Noli
>>>
>>> On 10/28/11, Noli Sicad <nsicad at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> What needs to be installed to make eVis plugin works with spatialite
>>>> db in Mac OS X?
>>>>
>>>> The author mentioned about Qt library.
>>>>
>>>> "... Qt's library so you don't have to have spatialite."
>>>>
>>>> http://osgeo-org.1803224.n2.nabble.com/Qgis-and-sqlite-td4521419.html
>>>>
>>>> eVis is now default plugin in QGIS 1.7.x and QGIS 1.8.0.
>>>>
>>>> I got this error using spatialite db.
>>>>
>>>> ##########
>>>> New Database connection requested...
>>>> Connection to
>>>> [./Volumes/MAC_OS_1068/Work/work_d1/Work_11/SImon_GPS_Photos/GPS_Photo.db]
>>>> failed: Driver not loaded Driver not loaded
>>>>
>>>> ##########
>>>>
>>>> Is eVis plugin sqlite/spatialite working in Linux?
>>>>
>>>> Any experience how to hack this to read my db?
>>>>
>>>> Thanks.
>>>>
>>>> Noli
>>>>
>>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "This is a question about the past, is it? ... How can I tell that the past
> isn't a fiction designed to account for the discrepancy between my immediate
> physical sensations and my state of mind?"
>
> - The Ruler of the Universe
>
>
>
More information about the Qgis-developer
mailing list