0029631: Samples: build AndroidQt sample together with OCCT on Windows platform
[occt.git] / adm / templates / sample.bat
index 0233466..e7446dd 100644 (file)
@@ -25,6 +25,7 @@ if ["%1"] == [""] (
 )
 
 call "%~dp0env.bat" %2 %3 %4
+if not ["%QTDIR%"] == [""] if exist "%QTDIR%\qml" if ["%QML2_IMPORT_PATH%"] == [""] set "QML2_IMPORT_PATH=%QTDIR%/qml"
 set "EXE_PATH=%CSF_OCCTBinPath%/%1.exe"
 
 if not exist "%EXE_PATH%" (