1

Topic: Cannote find Sqlite dev package linux, but its installed

Howdy all, trying to build on Devuan (Debian without SystemD)

I installed libsqlite3-dev package but am getting this

00:36:05: Running steps for project qelectrotech...
00:36:05: Starting: "/usr/lib/qt5/bin/qmake" /home/andrew/sources/qt/qelectrotech-source-mirror/qelectrotech.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
Cannot read /home/andrew/sources/qt/qelectrotech-source-mirror/SingleApplication/singleapplication.pri: No such file or directory
Project ERROR: sqlite3 development package not found
00:36:05: The process "/usr/lib/qt5/bin/qmake" exited with code 3.
00:36:05: Error while building/deploying project qelectrotech (kit: Desktop)
00:36:05: When executing step "qmake"
00:36:05: Elapsed time: 00:00.

$ dpkg -L libsqlite3-dev
/.
/usr
/usr/include
/usr/include/sqlite3.h
/usr/include/sqlite3ext.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libsqlite3.a
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/sqlite3.pc
/usr/share
/usr/share/doc
/usr/share/doc/libsqlite3-dev
/usr/share/doc/libsqlite3-dev/changelog.Debian.gz
/usr/share/doc/libsqlite3-dev/changelog.gz
/usr/share/doc/libsqlite3-dev/changelog.html.gz
/usr/share/doc/libsqlite3-dev/copyright
/usr/lib/x86_64-linux-gnu/libsqlite3.so

Maybe qt project file just doesn't know to look for libs there? its my 1st time using qt creator

2

Re: Cannote find Sqlite dev package linux, but its installed

It seems you have more than one independent "problems":

andrew wrote:

Cannot read /home/andrew/sources/qt/qelectrotech-source-mirror/SingleApplication/singleapplication.pri: No such file or directory

did you fetch sources of "SingleApplication"?

andrew wrote:

Project ERROR: sqlite3 development package not found

on my Debian stable VM these "sql"-packages are installed:

    ich@deb-devel:~$ dpkg -l | grep sql
    ii  libqt5sql5:amd64
    ii  libqt5sql5-sqlite:amd64
    ii  libqt6sql6:amd64
    ii  libqt6sql6-sqlite:amd64
    ii  libsqlite3-0:amd64
    ii  libsqlite3-dev:amd64
    ii  libsqlite3-tcl
    ii  sqlite3
    ii  sqlite3-tools
    ich@deb-devel:~$

Hope it helps

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

3

Re: Cannote find Sqlite dev package linux, but its installed

sudo apt install qtbase5-dev, qt5-qmake, libqt5svg5-dev, libkf5widgetsaddons-dev, libkf5coreaddons-dev libsqlite3-dev
git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet
cd qet 
mkdir build && cd build
qmake  ../qelectrotech.pro
make -j48

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

4

Re: Cannote find Sqlite dev package linux, but its installed

scorpio810 wrote:
make -j48

I'm a little envious: I don't have 48 cores!  nomicons/wink

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

5

Re: Cannote find Sqlite dev package linux, but its installed

grep ^processor /proc/cpuinfo | wc -l
48

I don't have 48 cores only Hyper-Threading Technology!
24 cores = 48 threads for this CPU.
Setup AMD   3960X it's very very old now but compile quickly still QET in 28 seconds. 150W en idle... nomicons/ermm  ~600 W when I use all cores ... like make -j 48.
I think the new mainstream AMD hardware performs better... for less power...



It's very usefull like build all tool-chain cross-compilation like MXE env, instead of the machine compiling continuously in 8 hours, it's done in about 1 hour.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

6

Re: Cannote find Sqlite dev package linux, but its installed

Thank you both for the advice.... I ran Qmake from command line and had to install G++ (QTCreator was using Clang but ok), still did not work, passed in -D and...

DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: calling built-in system("pkg-config 2> /dev/null 2> /dev/null --exists sqlite3")
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: test function returned false
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: AND
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: flow control statement 'return', aborting block
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: done looping
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf:330: aborting block, status: return
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/link_pkgconfig.prf:10: test function returned false
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/link_pkgconfig.prf:10: AND
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/link_pkgconfig.prf:10: evaluating test function "error"
DEBUG 1: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/link_pkgconfig.prf:10: calling built-in error("sqlite3 development package not found")

Turns out I was mising pkg-config, not sqlite3, maybe once I learn qmake I'll put a check for that


failed to load qet_en "/usr/local/share/qelectrotech/lang/" ( ../sources/qetapp.cpp 237 setLanguage )

nuts, problem for tommorow