[QGIS-Developer] Error compiling qgsapplication.h

Magdaleen Ballot magdaleen.ballot at up.ac.za
Wed Apr 11 10:02:21 PDT 2018


Good evening Jurgen,

Thank you very much for your effort. I manually applied the changes in the
patch. I also changed the FindQGIS.cmake to this one:
https://github.com/qgis/QGIS/blob/master/cmake/FindQGIS.cmake
and even replaced content of qgsapplication.h with
https://github.com/qgis/QGIS/blob/release-2_18/src/core/qgsapplication.h

I still get the same error.

But indeed as the compiler says, in none of the functions below does the
parameter have a type. They seem to member variables .... or am I ignorant
on a C++  shorthand:
    static QObject* ABISYM( mFileOpenEventReceiver );

    static QStringList ABISYM( mFileOpenEventList );

    static QString ABISYM( mUIThemeName );

    static QString ABISYM( mPrefixPath );

    static QString ABISYM( mPluginPath );

    static QString ABISYM( mPkgDataPath );

    static QString ABISYM( mLibraryPath );
    static QString ABISYM( mLibexecPath );
    static QString ABISYM( mThemeName );
    static QStringList ABISYM( mDefaultSvgPaths );
    static QMap<QString, QString> ABISYM( mSystemEnvVars );

    static QString ABISYM( mConfigPath );
???

Any further help or education will be much appreciated.

Kind Regards
Magdaleen Ballot

On 10 April 2018 at 14:21, Jürgen E. Fischer <jef at norbit.de> wrote:

> Hi Magdaleen,
>
> On Tue, 10. Apr 2018 at 12:19:50 +0200, Magdaleen Ballot wrote:
> > I am maintaining a c++ Radio Planning Plugin for QGis, QRap (
> www.QRap.org.za).
> >
> > I am trying to compile in Ubuntu 18.04, using QGis  2.18 (the libqgis-dev
> > version is 1:2.18.18+28bionic. The compiler I am using is GNU 7.3. The
> > error messages are below.
> >
> > I had the same problem under Ubuntu 16.04 using Qgis 2.14 and c++ 5.
> >
> > The last version I could complie successfully was QGIS 2.8.
>
> Builds fine on debian unstable with 2.18.18 for me:
>
> apt-get install libfann-dev libpoco-dev libqwt5-qt4-dev libeigen3-dev
> svn checkout http://svn.code.sf.net/p/qrap/code/ qrap
> mkdir qrap/build/
> cd qrap/build/
> # apply attached minor patch
> cmake -D CMAKE_MODULE_PATH=/usr/share/qgis cmake -D
> POSTGRES_LIBRARY=/usr/lib/x86_64-linux-gnu/libpq.so -D
> PQXX_LIBRARY=/usr/lib/x86_64-linux-gnu/libpqxx.so  ..
> make && sudo make install
>
>
> Jürgen
>
> --
> Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
> Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
> Software Engineer           D-26506 Norden
> http://www.norbit.de
>

-- 
This message and attachments are subject to a disclaimer.

Please refer to 
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf 
<http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf> for
full 
details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180411/fb891095/attachment.html>


More information about the QGIS-Developer mailing list