Qt World Summit: Register Today!

qsqlite4.dll is not generated for new version of Qt (qt-everywhere-opensource-src-4.8.7)

  • SQlite related driver qsqlite4.dll is not generated for new version of Qt (qt-everywhere-opensource-src-4.8.7)

    Tried with "-qt-sql-sqlite" option while building, but still not generated.

  • Lifetime Qt Champion


    If you pass -qt-sql-sqlite you are asking to have the driver built in the library, that's why you don't find any plugin.

  • @SGaist Thanks for reply. It was good to know what "-qt-sql-sqlite" does.
    But my requirement is that I should get the qsqlite4.dll.
    I'm able to get it for v4.8.5, but unable to generate it for v4.8.7.
    So can you please let me know how to generate it for v4.8.7.

  • Lifetime Qt Champion

    What does you configure output say ? Which option are you passing to it ?

  • @SGaist
    I have tried the following two options, but no success in both the options,

    1.configure.exe -confirm-license -no-dsp -no-vcproj -debug-and-release -opensource -openssl -platform

    2.configure.exe -debug-and-release -shared -opensource -confirm-license -platform win32-msvc2013 -arch windows -ltcg -no-fast -exceptions -no-accessibility -stl -no-xmlpatterns -no-sql-mysql -no-sql-psql -no-sql-oci -no-sql-odbc -no-sql-tds -no-sql-db2 -qt-sql-sqlite -no-sql-sqlite2 -no-sql-ibase -no-qt3support -no-openvg -graphicssystem raster -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -no-dsp -no-vcproj -no-incredibuild-xge -plugin-manifests -process -mp -rtti -no-3dnow -mmx -sse -sse2 -openssl -no-dbus -no-phonon -no-phonon-backend -no-multimedia -no-audio-backend -no-webkit -no-script -no-scripttools -no-declarative -no-declarative-debug -no-style-s60 -no-style-windowsmobile -no-style-windowsce -no-style-cde -no-style-motif -qt-style-cleanlooks -qt-style-plastique -qt-style-windows -qt-style-windowsxp -qt-style-windowsvista -no-native-gestures -no-directwrite -qmake -nomake examples -nomake demos -nomake

  • Lifetime Qt Champion

    What is the output of the configure summary for the first line ?

    For your second configure line, again you pass the -qt-sql-sqlite so the driver is built-in. By the way, why not use that feature since you build Qt yourself anyway ? That's one less file you need to distribute.

Log in to reply