Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

[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