Seite 1 von 1

SQL Modul hinzufügen

Verfasst: 30. September 2010 23:14
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 :-)

Verfasst: 1. Oktober 2010 06:58
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