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

Gary Sherman sherman at mrcc.com
Sun Feb 8 17:27:21 EST 2009


On Feb 8, 2009, at 8:37 AM, William Kyngesburye wrote:

> 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

Try adding:

#include <QDialog>

after the line containing #include "ui_pluginguibase.h"

>
>
> 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.
>
It is used to view context help from within the various dialogs in 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?
>

Yes, I noticed this too. The current 1.0 documentation should have  
been included, something that can't be fixed on the next maintenance  
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
>
>
>
>


-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Micro Resources: http://mrcc.com
   *Geospatial Hosting
   *Web Site Hosting
-Desktop GIS Book:
   *http://desktopgisbook.com
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-



More information about the Qgis-developer mailing list