diff --git a/docs/building-tinyorm.mdx b/docs/building-tinyorm.mdx index 8aed23d4e..a6874f584 100644 --- a/docs/building-tinyorm.mdx +++ b/docs/building-tinyorm.mdx @@ -63,12 +63,27 @@ The same is true for the `Qt Framework`, it doesn't provide `qtenv` scripts for Here is one simple example for `pwsh`. -```powershell title='qtenv5.ps1' + + + +```powershell +Write-Host 'Setting up environment for Qt 6.2.4 usage...' -ForegroundColor Magenta +$env:Path = 'C:\Qt\6.2.4\msvc2019_64\bin;' + $env:Path +. E:\dotfiles\bin\vcvars64.ps1 +``` + + + + +```powershell Write-Host 'Setting up environment for Qt 5.15.2 usage...' -ForegroundColor Magenta -$env:Path = 'E:\Qt\5.15.2\msvc2019_64\bin;' + $env:Path +$env:Path = 'C:\Qt\5.15.2\msvc2019_64\bin;' + $env:Path . E:\dotfiles\bin\vcvars64.ps1 ``` + + + ##### Allow symbolic links unprivileged Open `Local Security Policy`, go to `Local Policies - User Rights Assignment`, open `Create symbolic links` and add your user account or user group, restart when it doesn't apply immediately. @@ -309,6 +324,8 @@ cd TinyORM-builds-cmake/build-debug -D BUILD_TESTS:BOOL=OFF \` -D MATCH_EQUAL_EXPORTED_BUILDTREE:BOOL=ON \` -D MYSQL_PING:BOOL=OFF \` +-D TOM:BOOL=ON \` +-D TOM_EXAMPLE:BOOL=OFF \` -D VERBOSE_CONFIGURE:BOOL=ON`} @@ -324,6 +341,8 @@ cd TinyORM-builds-cmake/build-debug -D VERBOSE_CONFIGURE:BOOL=ON \\ -D BUILD_TESTS:BOOL=OFF \\ -D MYSQL_PING:BOOL=OFF \\ +-D TOM:BOOL=ON \\ +-D TOM_EXAMPLE:BOOL=OFF \\ -D MATCH_EQUAL_EXPORTED_BUILDTREE:BOOL=ON`} @@ -505,14 +524,16 @@ Now you are ready to configure the `TinyORM` library. The `qmake` does not suppo {`cd ${applicationFolderPath(pwsh)}/TinyORM/TinyORM\n cp conf.pri.example conf.pri -cp tests/conf.pri.example tests/conf.pri`} +cp tests/conf.pri.example tests/conf.pri +cp examples/tom/conf.pri.example examples/tom/conf.pri`} {`cd ${applicationFolderPath(bash)}/TinyORM/TinyORM\n cp conf.pri.example conf.pri -cp tests/conf.pri.example tests/conf.pri`} +cp tests/conf.pri.example tests/conf.pri +cp examples/tom/conf.pri.example examples/tom/conf.pri`}