[Qgis-developer] Xcode - compile error, doc questions

William Kyngesburye woklist at kyngchaos.com
Sun Feb 8 12:37:29 EST 2009


Well, I decided to start from scratch.  My old Xcode project was pre- 
cmake and too many files and targets moved around.  And a change in  
the way Xcode processes C++ compilation made me think I had used the  
wrong project template.

I have the core Qgis libs and app, and all but one of the providers/ 
plugins, working.


For some reason, the north arrow plugin won't compile.  With  
moc_plugingui.cpp, plugin.cpp and plugingui.cpp sources I get:

plugingui.h:21: error: expected class-name before '{' token

I have found that Xcode (and when compiling in a Terminal) often  
quietly ignores missing headers, but I think that's OK here.  Same  
compilation command as in a cmake build (though I could be overlooking  
something), and same Xcode target configuration as all the other  
[working] plugins.  I don't know how to track down an error like this...


A couple questions about the documentation.

- What is help_viewer app needed for?  The "Help Index" from the Help  
menu opens said index in Safari.  The pdf userguide is linked from  
that index.  If the help_viewer is what is opening Safari, seems like  
that should just be done directly by Qgis.

- A suggestion: have the userguide pdf directly accessible from the  
Help menu - saves an application switch.

- I notice that the userguide.pdf is from v0.9.1.  Shouldn't this have  
been updated before the 1.0 release?


On Feb 3, 2009, at 10:42 AM, William Kyngesburye wrote:

> I can dust off my old Xcode project, and it shouldn't be too hard to  
> update it to try it out with the 1.0 source and Xcode 3.  I have a  
> Tiger Mac also with Xcode 2.5, so I can test project backward- 
> compatibility.
>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always  
now and always shall be, there is an eternity of time for the  
accomplishment of objects."

- the wisdom of Tarzan







More information about the Qgis-developer mailing list