SQL Modul hinzufügen

Verschiedenes zu Qt
Antworten
crmqt
Beiträge: 1
Registriert: 30. September 2010 21:22

SQL Modul hinzufügen

Beitrag von crmqt »

Moin, ich möchte wie im folgenden Tutorial ein Projekt erstellen und
wie in Punkt 4 das Sql-Modul importieren
http://qt-mobility.blogspot.com/2009/12 ... ation.html

ich benutze den QT Creater 2.0.1 und bei mir gibt es diesen dialog nicht:

Bild


Wie komme ich zu dem Dialog "Select required modules"?

Vorab schonmal Vielen Dank :-)
ralli
Beiträge: 45
Registriert: 28. September 2004 06:05

Beitrag von ralli »

Aus der integrierten Hilfe Qt Reference Documentation auswählen
All Module - QtSql aufrufen:

To include the definitions of the module's classes, use the following directive:

Code: Alles auswählen

 #include <QtSql>
To link against the module, add this line to your qmake .pro file:

Code: Alles auswählen

QT += sql
See the SQL Programming guide for information about using this module in your applications.

Alles klar? Dann mal viel Erfolg! :D
Arch Linux - Openbox: CPU: P4 3,0 - RAM: 2048 MB - Graka: Nvidia Geforce 9500 GT 1024 MB mit aktuellem Nvidia Treiber - HDD: 250 GB und 1 TB - Qt 4.7.0 - QtCreator 2.01
Antworten