attention: Jean-Marc Lasgouttes I do have pkg-config installed.
Regards Frank On 10/10/17 10:50, Jean-Marc Lasgouttes wrote: > Le 10/10/2017 à 11:50, F M Salter a écrit : > > attention: Jean-Marc Lasgouttes > I installed qtdeclaratives-dev, but the failure continues. > > However find qglobal.h gives > > /usr/include/qt4/Qt/qglobal.h > /usr/include/qt4/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > This may explain why the problem occurs. > > You are right, I have to look at this more closely. Another thing that > I do here is to install pkg-config (which helps finding libraries). Do > you have it? > This may explain why I do not experience the same problem. > > JMarc > > However find qglobal.h gives > > /usr/include/qt4/Qt/qglobal.h > /usr/include/qt4/QtCore/qglobal.h > /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h > > This may explain why the problem occurs. > Regards > Frank > > On 10/10/17, Jean-Marc Lasgouttes wrote: >> Le 09/10/2017 à 19:03, F M Salter a écrit : >> >> conftest.cpp:38:22: fatal error: qglobal.h: No such file or directory >> #include <qglobal.h> >> >> This seems weird. Did you install also the xxx-dev packages needed >> to build a qt program? It looks like the build-essential package >> installs whatever is needed to build all debian packages, but it may >> be a bit too much.Some people advise to install qtdeclarative5-dev, >> which installs whatever other packages are required for qt5. >> JMarc >> .... >> >
