[Solved] qt5 linux source build error undefined reference to qstatic plugin qsqlite



  • I'm trying to do a static build of Qt 5 from git. I used the configure options:

    ./configure -static -opensource -nomake examples -nomake tests

    then

    make -j 4

    In make, I get the error:

    undefined reference to qstatic plugin qsqlite

    I'm using g++ 4.7

    Any suggestions are appreciated. Thanks.



  • hi, try to add -v option to get more info. It seems like qsqlite lib is missing.



  • I used g++ 4.6 and the problem went away. Was able to successfully build 64 bit this way too.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.