mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031570: Samples - add Qt samples similar to standard MFC samples
Added Qt sample OCCTOverview providing examples of use of OCCT API with relevant code and demonstration of results in the viewer. Off-topic: some unused images are removed from dox/introduction/images/
This commit is contained in:
7
samples/qt/Tutorial/.gitignore
vendored
Normal file
7
samples/qt/Tutorial/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/debug
|
||||
/release
|
||||
*.sln
|
||||
*.vcxproj*
|
||||
.qmake.stash
|
||||
/custom.bat
|
||||
/custom.sh
|
@@ -1,4 +0,0 @@
|
||||
@echo off
|
||||
rem Define QTDIR variable
|
||||
|
||||
set "QTDIR="
|
5
samples/qt/Tutorial/custom.bat.template
Normal file
5
samples/qt/Tutorial/custom.bat.template
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
rem Rename this file to custom.bat,
|
||||
rem and define QTDIR variable.
|
||||
|
||||
set "QTDIR="
|
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
#Define QTDIR variable
|
||||
|
||||
export QTDIR=""
|
5
samples/qt/Tutorial/custom.sh.template
Normal file
5
samples/qt/Tutorial/custom.sh.template
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Rename this file to custom.sh,
|
||||
# and define QTDIR variable.
|
||||
|
||||
export QTDIR=""
|
@@ -1,8 +1,10 @@
|
||||
@echo off
|
||||
|
||||
call "%~dp0..\..\..\env.bat" %1 %2 %3
|
||||
if exist "%~dp0custom.bat" (
|
||||
call "%~dp0custom.bat" %1 %2 %3
|
||||
)
|
||||
|
||||
call "custom.bat" %1 %2 %3
|
||||
call "%~dp0..\..\..\env.bat" %1 %2 %3
|
||||
|
||||
set "RES_DIR=%~dp0win%ARCH%\%VCVER%\res"
|
||||
set "CSF_ResourcesDefaults=%RES_DIR%"
|
||||
|
Reference in New Issue
Block a user