[Slackbuilds-users] QGIS 3 on Slackware

Benjamin Trigona-Harany slackbuilds at jaxartes.net
Tue Mar 6 20:11:31 UTC 2018


On Tuesday, 6 March 2018 08:25:09 PST Frédéric Falsetti wrote:
> On Tue, 06 Mar 2018 08:21:51 -0800
> 
> Benjamin Trigona-Harany <slackbuilds at jaxartes.net> wrote:
> > On Tuesday, 6 March 2018 08:03:47 PST Frédéric Falsetti wrote:
> > > On Tue, 06 Mar 2018 07:15:25 -0800
> > > 
> > > Benjamin Trigona-Harany <slackbuilds at jaxartes.net> wrote:
> > > > Can you confirm which version of python3-PyQt5 you have installed?
> > > > Also if
> > > > you could attach a longer error message with more context that could
> > > > help.
> > > 
> > > python3-PyQt5-5.7.1-i586-1_SBo
> > 
> > Thanks. Can you confirm that you have qwidget.h installed as part of the
> > qt5-5.7.1 package? I assume you do and the QScintilla build isn't finding
> > it, which I should be able to fix.
> 
>  slocate qwidget.h
> /usr/include/qt5/QtWidgets/qwidget.h
> 
> cat /var/log/packages/qt5-5.7.1-i586-1_SBo|grep qwidget.h
> usr/include/qt5/QtWidgets/qwidget.h

Hi Frédéric,

Can you try inserting the following two lines in the build script immediately 
before the "python3 configure.py ..." line?

sed -i "1423i\    pro.write('INCLUDEPATH += /usr/include/qt5/QtWidgets\\\n')" 
configure.py
sed -i "1423i\    pro.write('INCLUDEPATH += /usr/include/qt5/QtPrintSupport\\
\n')" configure.py

For some reason this is not necessary on my x86_64 install. qmake-qt5 
automatically adds the right include paths but not for you. I hope these lines 
will be enough.





More information about the SlackBuilds-users mailing list