Follow up,
I think it is bad build instructions.
====
checking for PostgreSQL...
/home/roland/piBuild/pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
-c -pipe -march=armv7-a -marm -mthumb-interwork -mfpu=neon-vfpv4
-mtune=cortex-a7 -mabi=aapcs-linux -mfloat-abi=hard
--sysroot=/home/roland/piBuild/sysroot -O2 -Wall -W -fPIC -I.
-I/usr/include/postgresql -I../../../mkspecs/devices/linux-rasp-pi2-g++ -o
psql.o psql.cpp
/home/roland/piBuild/pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
-Wl,-rpath-link,/home/roland/piBuild/sysroot/opt/vc/lib
-Wl,-rpath-link,/home/roland/piBuild/sysroot/usr/lib/arm-linux-gnueabihf
-Wl,-rpath-link,/home/roland/piBuild/sysroot/lib/arm-linux-gnueabihf
-mfloat-abi=hard -Wl,-O1 -o psql psql.o
--sysroot=/home/roland/piBuild/sysroot -L/usr/lib/x86_64-linux-gnu -lpq
*/usr/lib/x86_64-linux-gnu/libpq.so: file not recognized: File format not
recognized*
collect2: error: ld returned 1 exit status
Makefile:92: recipe for target 'psql' failed
make: *** [psql] Error 1
PostgreSQL disabled.
PostgreSQL support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to
/home/roland/piBuild/qt-everywhere-opensource-src-5.7.1/qtbase/configure to see
the final report.
If you believe this message is in error you may use the continue
switch (-continue) to
/home/roland/piBuild/qt-everywhere-opensource-src-5.7.1/qtbase/configure to
continue.
roland@roland-desktop:~/piBuild/qt-everywhere-opensource-src-5.7.1$ cd /
*roland@roland-desktop:/$ sudo find -iname libpq.so****[sudo] password for
roland:
****./usr/lib/x86_64-linux-gnu/libpq.so****./home/roland/piBuild/sysroot/usr/lib/arm-linux-gnueabihf/libpq.so***
====
Following stuff from here:
https://www.ics.com/blog/configuring-qt-creator-raspberry-pi
which is just a tweak of this: https://wiki.qt.io/RaspberryPi2EGLFS
Obviously the library path isn't going through the Raspbian sysroot tree
first.
--
Roland Hughes, President
Logikal Solutions
(630)-205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us/
http://onedollarcontentstore.com
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest