Opened 14 years ago
Last modified 14 years ago
#2760 new bug
SpatiaLite Layers Not Displaying in PPC Mac
Reported by: | DMK | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Data Provider | Version: | Trunk |
Keywords: | SpatiaLite Mac PPC Carbon | Cc: | |
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | 10.5.8 PPC | Awaiting user input: | no |
Description
I have been unable to get SpatiaLite Layers to display in QGIS. I can connect and add the layers without any difficulty but the layers do not display on the map. I have tried both QGIS 1.4 and 1.5 (build 13385) from KyngChaos with no success. I have also tested with the SpatiaLite test database, again with no success. When I export my SpatiaLite layer to a shape file the layer displays correctly. I using a PowerPC mac with OS X 10.5.8
Change History (7)
comment:1 by , 14 years ago
Component: | Build/Install → Data Provider |
---|
comment:2 by , 14 years ago
Awaiting user input: | set |
---|
Are you using a G4 or G5 Mac?
After more testing on a few different SQLite framework versions and both a G4 and G5, it looks like it's not working on a G4. Something must be getting optimized for a G5 in the spatialite code.
comment:3 by , 14 years ago
Awaiting user input: | unset |
---|---|
Platform Version: | 10.5.8 → 10.5.8 PPC |
...ugh, I buggered my testing. saptialite framework does work on a G4, and Qgis spatialite does not work on a G5. So we're back to a Qgis problem, somewhere in the build.
comment:5 by , 14 years ago
I've tracked this down to a problem with Qt Carbon on Leopard. I use Qt Cocoa for Snow Leopard builds and Qt Carbon for Leopard builds. This is because the ready-made binaries, for some reason, do not include PPC in the Cocoa versions, even though they say they support Leopard. For the older Qgis 1.4 I used Qt 4.5 Carbon for both Leopard and Snow, and Snow does not have the problem, so it looks like it's the combination of Qt Carbon on Leopard.
I have no idea if it is possible to work around this in Qgis, it's beyond my skills.
I can build the Leopard Qgis with Qt Cocoa, BUT, that will either take a lot of work compiling Qt Cocoa to include PPC code, or will be Intel-only if I use the downloadable Qt Cocoa.
comment:6 by , 14 years ago
Keywords: | Carbon added |
---|---|
Milestone: | Version 1.5.0 → Version 1.6.0 |
I've added configuration ability for a custom build of Qt in r13790, so a PPC cocoa Qt can be compiled and used. This is a workaround for now. Ultimately, someone with more Qt/Mac skills needs to figure this out so a Carbon Qt works (or get Nokia to include PPC cocoa, or just wait until PPC Macs are no longer supported at all).
comment:7 by , 14 years ago
So, forgot about this bug report. Recent test on PPC with Qt 4.6 Cocoa (from source): fail. Still no spatialite display. I thought I tested this before (thus the findings in comment 5).
I did verify that it works on Intel.
But indeed, on PPC, no display. I tried selecting and identifying data, that works, assuming you know where the data is to click on it.
... testing with sqlite/spatialite in a Terminal shows that spatialite is not working on the PPC side. So it's not really a Qgis problem. Looks like I need to fix my Sqlite framework...