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. Build QT 5.0.1 in Windows 7 X64 with visual studio 2012 error, can not open include file 'sqlite3.h'
Forum Updated to NodeBB v4.3 + New Features

Build QT 5.0.1 in Windows 7 X64 with visual studio 2012 error, can not open include file 'sqlite3.h'

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

    I downloaded the src zip from this site: qt-everywhere-opensource-src-5.0.1.zip.

    In vs2012 x64 native command, I configured the build with the following command:
    "configure -prefix C:\Qt\Qt5.0.1 -platform win32-msvc2012 -opensource -mp -c++11 -make tools -make libs -qt-sql-sqlite -no-sql-sqlite2 -icu -no-openssl -I D:\Projects\icu4c-51_1\icu\include -L D:\Projects\icu4c-51_1\icu\lib64"

    The build faied with "drivers\sqlite2\qsql_sqlite2.cpp(59) : fatal error C1083: Cannot open include file: 'sqlite3.h': No such file or directory"

    I know there is sqlite3 in "qtbase\src\3rdparty\sqlite", but the compiler can not find it. How can I make configure comand find the sqlite3 source code, compile it and include it in the dependency?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      etah000
      wrote on last edited by
      #2

      the original qsql_sqlite2.cpp source file includes 'sqlite.h', I modified it to 'sqlite3.h'. The build error is similar.

      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