adding QODBC to static compile
Hello dear programmers .
well i want to make a static version of my Qt to make a static compile for my new program .
i have a Qt5.7.1 static MINGW compiler but the only driver that is included for sql there is SQLITE.
so here is my problem :
at the very first step which is cofigure step,i face this error at the end of the process:
ERROR: Invalid value given for boolean command line option 'sql-sqlite'. ERROR: Invalid value given for boolean command line option 'sql-odbc'. Qmake failed, return code 3
here is the command line i use :
configure -static -platform win32-g++ -prefix "D:\Qt\Qt5.8.0 static" -debug-and-release -opensource -confirm-license -nomake examples -nomake tests -nomake tools -opengl desktop -no-angle -qt-sql-sqlite -qt-sql-odbc -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype
i also faced this error :
ERROR: Invalid value given for boolean command line option 'sql-sqlite'. ERROR: Unknown command line option '-qt-sql-qodbc'. Qmake failed, return code 3
using "-qt-sql-qodbc" instead of "-qt-sql-odbc"
anything changed in 5.8.0 version that i should know ? what is wrong ?
i followed the guide : Build a static Qt5 for Windows by compiling from sources
The option changed in Qt 5. Now it is