[SOLVED]can't find the "src" directory to build my QPSQL driver
-
Hi k_arnaud, with "set QTSDK_SQLDRIVERS_PATH=C:\Qt\Qt5.2.0\5.2.1\mingw48_32\plugins\sqldrivers" you create the environment-variable QTSDK_SQLDRIVERS_PATH, which you need later (#12.). Where appropriate you must modify the path itself - according to your system.
These variables are for your comfort - you may use the complete pathname instead. -
must be a wrong path, too:
your_qt_path is something like C:\Qt\Qt5.2.1\5.2.1 and
qmake.exe is located in your_qt_path\mingw48_32\bin
so you must start qmake by:
your_qt_path\mingw48_32\bin\qmake “INCLUDEPATH+=%POSTGRES32%\include” “LIBS+=%POSTGRES32%\lib\libpq.lib” psql.prowhen this task is done, you will continue with:
mingw32-make debug
mingw32-make release -