[Qgis-developer] Re: Xcode - compile error, doc questions
William Kyngesburye
woklist at kyngchaos.com
Sun Feb 8 20:06:54 EST 2009
On Feb 8, 2009, at 6:06 PM, Gary Sherman wrote:
> On Feb 8, 2009, at 2:41 PM, William Kyngesburye wrote:
>
>> On Feb 8, 2009, at 4:27 PM, Gary Sherman wrote:
>>
>>>> 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"
>>>
>> No joy. I thought of that, since it's that way in another plugin's
>> plugingui.h.
>
> Odd that it compiles fine outside of Xcode.
>>
That error is common to all the sources I mentioned. I didn't mention
some other errors that are also from plugingui.cpp:
/Users/Shared/src/qgis/qgis_1.0.0/mac/Qgis/../../src/plugins/
north_arrow/plugingui.cpp: In constructor
'QgsNorthArrowPluginGui::QgsNorthArrowPluginGui(QWidget*, Qt::WFlags)':
/Users/Shared/src/qgis/qgis_1.0.0/mac/Qgis/../../src/plugins/
north_arrow/plugingui.cpp:24: error: 'setupUi' was not declared in
this scope
/Users/Shared/src/qgis/qgis_1.0.0/mac/Qgis/../../src/plugins/
north_arrow/plugingui.cpp:26: error: 'tabNorthArrowOptions' was not
declared in this scope
... and more
I figured these were just a byproduct of the first error, but they
might help. It's almost like ui_pluginguibase.h isn't getting
included properly...
>> What is the format of this context help? I'm just wondering if it
>> could also be opened in a web browser, or the system help viewer.
>
> I suppose it could be, sinct the help files are in a simple HTML
> format.
>
On a closer look, it would mean changing the context help setup. They
are just the body of html (and no .html file extension), qgis_help
adds the <html> and <body> tags. It also shows a help-not-found
message.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly
what the universe is for and why it is here, it will instantly
disappear and be replaced by something even more bizarrely
inexplicable. There is another theory which states that this has
already happened.
-Hitchhiker's Guide to the Galaxy 2nd season intro
More information about the Qgis-developer
mailing list