Erstmal abgesehen von MySQL:
1. Du hast ja Recht, qmake liegt unter $QTDIR\bin
2. In $QTDIR\PLATFORMS steht folgendes:
Before you build the Qt library and example programs, you must run the
"configure" program to set the platform information and other build
settings. You can use the -platform option, or set the QMAKESPEC
environment variable to specify the operating system and compiler you
are using.
Supported platforms and compilers:
win32-borland
win32-g++
win32-icc
win32-msvc
win32-msvc.net
Compilation problems:
If you experience problems compiling Qt 3.x consult the platform
notes found at
http://www.trolltech.com/developer/platforms/ where
we post workarounds and known issues as we become aware of them.
Example:
configure -platform win32-msvc.net -shared -debug
Jetzt bin ich also in $QDIR\bin gegangen, habe "configure -platform win32-g++ -shared" ausgeführt (auf debug lege ich im Augenblick keinen Wert). Dann bekomme ich folgende Nachricht:
C:\Qt_QSA\Qt3.3.3Evaluation\bin>configure -platform win32-g++ -shared
Qt is now configured for building. Just run nmake.
To reconfigure, run nmake clean and configure.
Wenn ich jetzt aber in meinem Projektverzeichnis die üblichen Schritte durchführe (1. qmake -project, 2. qmake) und dann die Makefile mit "make" aufrufen möchte, dann kommt folgende Fehlermeldung:
C:\Dokumente und Einstellungen\konrad\Desktop\RFID-Warehouse-Installer>make
makefile:61: *** missing separator. Stop.
Offensichtlich, denkt Qt immer noch, dass ich VC benutze, denn damit geht es dann wieder. D.h. wenn ich also "nmake" eingebe kompiliert alles anstandslos:
C:\Dokumente und Einstellungen\konrad\Desktop\RFID-Warehouse-Installer>nmake
Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten.
cl -c -nologo -Zm200 -W3 -MD -O1 -GX -DUNICODE -DQT_DLL -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -
I"." -I"C:\Qt_QSA\Qt3.3.3Evaluation\include" -I"C:\Dokumente und Einstellungen\konrad\Desktop\RFID-W
arehouse-Installer" -I"C:\Qt_QSA\Qt3.3.3Evaluation\mkspecs\win32-msvc" -Fo @C:\DOKUME~1\konrad\LOKAL
E~1\Temp\nma02876.
main.cpp
link /NOLOGO delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.d
ll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll /SUBSYSTEM:windows /LIBPATH:"C:\Qt_QSA\Qt3.3.3Eval
uation\lib" /OUT:RFID-Warehouse-Installer.exe @C:\DOKUME~1\konrad\LOKALE~1\Temp\nmb02876.
LINK : warning LNK4199: /DELAYLOAD:comdlg32.dll wird ignoriert; keine Importe von comdlg32.dll gefun
den
LINK : warning LNK4199: /DELAYLOAD:oleaut32.dll wird ignoriert; keine Importe von oleaut32.dll gefun
den
LINK : warning LNK4199: /DELAYLOAD:winmm.dll wird ignoriert; keine Importe von winmm.dll gefunden
LINK : warning LNK4199: /DELAYLOAD:wsock32.dll wird ignoriert; keine Importe von wsock32.dll gefunde
n
LINK : warning LNK4199: /DELAYLOAD:winspool.dll wird ignoriert; keine Importe von winspool.dll gefun
den
C:\Dokumente und Einstellungen\konrad\Desktop\RFID-Warehouse-Installer>RFID-Warehouse-Installer.exe
Zu MySQL wollte ich mal fragen, ob es sehr schwierig ist, den Datenbank-Server mittels ODBC anzusprechen?! Man muss soweit ich weiß dann noch zusätzlich auf dem Client-PC einen Treiber installieren (siehe:
http://www.mysql.com/products/connector/odbc/).
Schon mal vielen Dank für Deine Antwort.
Konrad