Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling Qt5 with custom SQLite3
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt5 with custom SQLite3

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 3.2k 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.
  • S Offline
    S Offline
    scarleton
    wrote on last edited by
    #1

    I am trying to compile Qt5 with a custom version of SQLite3. I am using these options:

    (note: I am using brackets rather than percentages because for some reason the web site/editor does not like percentages and I cannot figure out how to escape them correctly)

    configure -prefix {CD}\qtbase -debug-and-release -opensource -platform win32-msvc2012 -system-sqlite -I {SQLITE} -L {SQLITE_LIB} -l sqlite3

    Both {SQLITE} & {SQLITE_LIB} point to the release folder that has both the sqlite3.h and sqlite3.lib file in it, but I am getting the error:

    WARNING: Configure could not detect the presence of a system SQLite3 lib.
    Configure will therefore continue with the SQLite3 lib bundled with Qt.

    Any thoughts on what I am doing wrong?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      StephenCleary
      wrote on last edited by
      #2

      You need to define some environment variables:
      @
      set INCLUDE=%INCLUDE%;{SQLITE}
      set LIB=%LIB%;{SQLITE}
      @

      That will make Configure happy, at least.

         -Steve
      
      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