![]() Below is the whole output with the errors at the end:Ĭ:\Qt\Qt5.1.1\5.1.1\Src\qtbase\src\plugins\sqldrivers\psql>mingw32-make After that I opened the console from Start menu->All Programs->Qt 5.1.1->5.1.1->MinGW 4.8 (32-bit)->Qt 5.1.1 for Desktop.Īfter that I went in C:\Qt\Qt5.1.1\5.1.1\Src\qtbase\src\plugins\sqldrivers\psqlĬ:\Qt\Qt5.1.1\5.1.1\Src\qtbase\src\plugins\sqldrivers\psql>qmake INCLUDE+="C:\PostgreSQL\9.3\include" LIBS+="C:\PostgreSQL\9.3\lib\libpq.lib"Īfter that I executed mingw32-make and it started to print output (which is something new) but ended with error. Today I uninstalled PostgreSQL which was 64-bit and installed the 32-bit version. So please, someone, make a step-by-step guide how to create this plugin. 'mingw32-make' is not recognized as an internal or external command, operable program or batch file. I got an error that qmake is a not recognized command.Īnd now I can't execute points 3 and 4 because of the same error: I used this because when I am in C:\Qt\5.1.1\Src\qtbase\src\plugins\sqldrivers\psql and type qmake. I managed to do point 2 inclusive like this:Ĭ:\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 qmake INCLUDEPATH+="d:/PostgreSQL/9.1/include" LIBS+="d:/PostgreSQL/9.1/lib/libpq.lib". ![]() cd C:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\psql.I have Qt 5.1.1 32-bit with MinGW installed and PostgreSQL 64-bit running on Windows 7 Ultimate 64-bit system. I dedicated more than 6 hours today to find out what and how to do and I still cannot build it. It seems that the building of the PostgreSQL plugin in Windows is a very hard job. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |