Some of the required modules (sql) are not available.Skipped.
libpq-fe.hmain.cpppostgres.hpostgres_ext.hqsql_psql.hqsqldriver.hqsqldriverinterface_p.hqsqldriverplugin.h
... In function `_start':: undefined reference to `main'... in function `QPSQLDriverPlugin::create(QString const &)':: undefined reference to `QPSQLDriverPlugin::QPSQLDriverPlugin(QObject *, char const &)'
cd $QTDIR/plugins/src/sqldrivers/psqlqmake -o Makefile "INCLUDEPATH+=/usr/src/psql/src/include /usr/src/psql/src/interfaces/libpq" "LIBS+=-L/usr/lib -lpq" psql.promake
cd $QTDIR/plugins/src/sqldrivers/psqlqmake -o Makefile "INCLUDEPATH+="Путь_к_корневой папке_заголовочных_файлов_СУБД Второй_путь_с_которым_надо_поэкспериментировать" "LIBS+=-L/usr/lib -lpq" psql.promake
qt-embedded-free-3.3.3.tar\qt-embedded-free-3.3.3\plugins\src\sqldrivers\psql\
qmake –o Makefile “INCLUDEPATH+=/usr/include/pgsql /usr/include/pgsql/libpq /usr/include/pgsql/server” “LIBS+=-L/usr/lib -lpq” psql.promake