--- C:/development/CTK-master-vc9/CMakeExternals/Source/QtMobility/configure_orig.bat	Sun Apr 11 18:17:43 2010
+++ C:/development/CTK-master-vc9/CMakeExternals/Source/QtMobility/configure.bat	Sun Apr 11 21:19:33 2010
@@ -60,7 +60,7 @@
 set MOBILITY_MODULES=bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors
 set MOBILITY_MODULES_UNPARSED=
 set VC_TEMPLATE_OPTION=
-set QT_PATH=
+set QT_PATH=@QT_BINARY_DIR@\
 set QMAKE_CACHE=%BUILD_PATH%\.qmake.cache
 
 if exist "%QMAKE_CACHE%" del %QMAKE_CACHE%
@@ -457,10 +457,15 @@
 echo.
 echo Start of compile tests
 REM compile tests go here.
-call :compileTest LBT lbt
-call :compileTest SNAP snap
-call :compileTest OCC occ
-call :compileTest SymbianContactSIM symbiancntsim
+REM for CTK the compile tests generate errors in Visual Studio -> just disabling them
+REM call :compileTest LBT lbt
+echo lbt_enabled = no >> %PROJECT_CONFIG%
+REM call :compileTest SNAP snap
+echo snap_enabled = no >> %PROJECT_CONFIG%
+REM call :compileTest OCC occ
+echo occ_enabled = no >> %PROJECT_CONFIG%
+REM call :compileTest SymbianContactSIM symbiancntsim
+echo symbiancntsim_enabled = no >> %PROJECT_CONFIG%
 echo End of compile tests
 echo.
 echo.
