Thursday, December 04, 2008

UBSS and qt

Qt Variables
LIBS
-L/usr/%user%/ubss_obj/ref/libc
-lbs
-lm

INCLUDEPATH
$(UBSS)/$(UBSS_VERS)/install/include

Open Source QT on vs2008 express
QMake shall generate vs2008 makefile.
Avoid source/header in sub directory.

Use external tools to configure the following shortcut.

QMake to generate project (.pro)
Command:%QTDIR%\bin\qmake.exe
Arguments: -project

Add QT+=SQL to .pro
Command:c:\windows\system32\cmd.exe
Arguments: /k echo QT += sql>> $(TargetName).pro && QT += designer plugin >> $(TargetName).pro


QMake to generate makefiles
Comamnd:%QTDIR%\bin\qmake.exe
Arguments:-makefile -tp vc -spec win32-msvc2008


QT Assistant
Command:%QTDIR%\bin\assistant.exe

QT Designer
Command:%QTDIR%\bin\designer.exe

No comments: