Opened 14 years ago
Closed 14 years ago
#2745 closed bug (fixed)
Attempt to create new spatiaLite layer fails
Reported by: | rcline | Owned by: | kyngchaos |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | GUI | Version: | Trunk |
Keywords: | spatialite xcode | Cc: | |
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | Awaiting user input: | no |
Description
When the New SpatiaLite Layer menu item is selected, the dialog to create the layer does not appear. I am using development builds from the KyngChaos site. This works in build r13289, but does not work in the newer r13385 and r13519 builds. Using OS X 10.6.3.
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Component: | Build/Install → GUI |
---|
Running QGIS from the terminal, I get the following warning: Warning: Object::connect: No such slot QgisApp::newSpatialiteLayer()
There were changes made to add new SpatiaLite layer in r13294. Is it possible this change broke adding a SpatiaLite layer in OS X as it worked in r13289.
comment:3 by , 14 years ago
Keywords: | spatialite xcode added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
I messed up a sqlite setting in the Xcode project, so qgsspatialitesourceselect.cpp|h were not compiled.
working on it...
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK, turns out you had the right track - while newSpatialiteLayer() should be conditionalized in qgisapp.cpp, it should not be so in qgisapp.h. newSpatialiteLayer() must exist (defined in qgisapp.h), it's just an empty function if spatialite is not enabled.
fixed in r13567. I'll package up a new Mac dev build later.
not reproducable in r13566 on Linux and Windows.