Hello everyone.
Trying to compile driver for FireBird qt-but I can not deal with it.
I have Windows XP, QT 4.7.1, FireBird SuperServer ver. 2.5.0.26074 Firbird WxDev-2.5 and C + +.

FireBird is installed on C:\Firebird and it works
QT is C:\Qt
WxDev-C++ to C:\Dev-Cpp

I added the environment variables:
User-variables for "my xp"this entire entry in the Path variable: Code:
C:\Firebird\bin c:\Qt\4.7.1\bin;% PATH%

-Variable System behold the full entry in the variable Path:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Firebird\bin;c:\Qt\4.7.1\bin;%PATH% ;c:\Dev-Cpp\bin;

Are these entries for FireBird WxDev-QT and C + + is correct?

Next go to C:\Qt\4.7.1\src\plugins\sqldrivers\ibase lest skompilowadc stewrownik QT to FireBird
First part of code:
qmake-o Makefile "INCLUDEPATCH+=C:\\Firebird\\include" "LIBS+= C:\\Firebird\\lib-lfbclient_ms" ibase.pro

This command passes without any interference there are any additional files.

Then enter code:
mingw32-make

and here I have the following errors:

Qt Code:
  1. C:\Qt\4.7.1\src\plugins\sqldrivers\ibase>mingw32-make
  2. mingw32-make -f Makefile.Debug all
  3. mingw32-make[1]: Entering directory `C:/Qt/4.7.1/src/plugins/sqldrivers/ibase'
  4. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
  5. DQT_EVAL -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT
  6. _SQL_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMX
  7. EXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\.
  8. .\..\include\QtSql" -I"..\..\..\..\include" -I"..\..\..\..\include" -I"..\..\..\
  9. ..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++"
  10. -o tmp\obj\debug_shared\main.o main.cpp
  11. In file included from main.cpp:44:
  12. ../../../sql/drivers/ibase/qsql_ibase.h:48:19: ibase.h: No such file or director
  13. y
  14. In file included from main.cpp:44:
  15. ../../../sql/drivers/ibase/qsql_ibase.h:87: error: expected `)' before "connecti
  16. on"
  17. mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
  18. mingw32-make[1]: Leaving directory `C:/Qt/4.7.1/src/plugins/sqldrivers/ibase'
  19. mingw32-make: *** [debug-all] Error 2
To copy to clipboard, switch view to plain text mode 

I tried according to the suggestions from another forum to convert the file ibase.pro is his original form:
Qt Code:
  1. TARGET = qsqlibase
  2.  
  3. SOURCES = main.cpp
  4. include(../../../sql/drivers/ibase/qsql_ibase.pri)
  5.  
  6. include(../qsqldriverbase.pri)
To copy to clipboard, switch view to plain text mode 
I changed to:
Qt Code:
  1. TARGET = qsqlibase
  2.  
  3. HEADERS = ../../../sql/drivers/ibase/qsql_ibase.h
  4. SOURCES = main.cpp \
  5. ../../../sql/drivers/ibase/qsql_ibase.cppqsql_ibase.cpp
  6.  
  7. INCLUDEPATCH+=C:\\Firebird\\include
  8. LIBS+=C:\\Firebird\\lib -lfbclient_ms.lib
  9.  
  10. unix:!contains( LIBS, .*gds.* ):!contains( LIBS, .*libfb.* ):LIBS *= -lgds
  11.  
  12. win32:!contains( LIBS, .*gds.* ):!contains( LIBS, .*fbclient.* ) {
  13. !win32-borland:LIBS *= fbclient_ms.lib
  14. win32-borland:LIBS += gds32.lib
  15. }
  16.  
  17. include(../qsqldriverbase.pri)
To copy to clipboard, switch view to plain text mode 

But I also did not help.
Please Help