Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] qt5 linux source build error undefined reference to qstatic plugin qsqlite
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    te777
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zhxt
      wrote on last edited by
      #2

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

      Qt Developer

      1 Reply Last reply
      0
      • T Offline
        T Offline
        te777
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved