Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

PostgreSQL plugin building in Windows 7

$
0
0
Hello all, It seems that the building of the PostgreSQL plugin in Windows is a very hard job. I dedicated more than 6 hours today to find out what and how to do and I still cannot build it. I have Qt 5.1.1 32-bit with MinGW installed and PostgreSQL 64-bit running on Windows 7 Ultimate 64-bit system. Here is my latest findings on the net: 1. cd C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql 2. qmake INCLUDEPATH+=“d:/PostgreSQL/9.1/include” LIBS+=“d:/PostgreSQL/9.1/lib/libpq.lib” 3. mingw32-make 4. mingw32-make install I managed to do point 2 inclusive like this: C:\Qt\5.1.1\mingw48_32\bin>qmake “INCLUDEPATH+=C:\\Program Files\\PostgreSQL\\9.3\\include” “LIBS+=C:\\Program Files\\PostgreSQL\\9.3\\lib\\libpq.lib” C:\\Qt\\5.1.1\\Src\\qtbase\\src\\plugins\\sqldrivers\\psql I used this because when I am in C:\Qt\5.1.1\Src\qtbase\src\plugins\sqldrivers\psql and type qmake…. I got an error that qmake is a not recognized command… And now I can’t execute points 3 and 4 because of the same error: C:\Qt\5.1.1\mingw48_32\bin>mingw32-make ‘mingw32-make’ is not recognized as an internal or external command, operable program or batch file. So please, someone, make a step-by-step guide how to create this plugin. Thanks in advance for your cooperation.

Viewing all articles
Browse latest Browse all 13965

Trending Articles