Target OS: Windows 11 (x64) Last Updated: 2025-11-16
winget install Microsoft.WindowsTerminalwinget install Git.GitRestart terminal after install.
winget install GoLang.GoVerify:
go version # Should show 1.21+winget install OpenJS.NodeJS.LTSVerify:
node --version # Should show v20+
npm --versiongo install github.com/wailsapp/wails/v2/cmd/wails@latestAdd to PATH (PowerShell as Admin):
$env:Path += ";$env:USERPROFILE\go\bin"
[Environment]::SetEnvironmentVariable("Path", $env:Path, "User")Verify:
wails version # Should show v2.11+winget install Pandoc.Pandoc
winget install MiKTeX.MiKTeX
pandoc --version
xelatex --versionUsado por scripts/generate_md_pdfs.sh.
Usually pre-installed on Windows 11. If missing:
winget install Microsoft.EdgeWebView2Runtimecd go_wails_react
go mod tidy
cd frontend
npm install
cd ..
wails devCRITICAL: If you get Arrow linker errors:
# Build without Arrow (recommended - Arrow not needed)
wails dev -tags no_duckdb_arrow
wails build -tags no_duckdb_arrowExpected: Window opens with database viewer showing sample data.
Download and run: https://rust-lang.org/tools/install
Or via winget:
winget install Rustlang.RustupRestart terminal, then verify:
rustc --version # Should show 1.70+
cargo --versionSee Go/Wails section above.
Required for Rust native compilation:
winget install Microsoft.VisualStudio.2022.BuildToolsDuring install, select:
- Desktop development with C++
- Windows 10/11 SDK
# WebView2 already installed (see Wails section)cd rust_tauri_svelte
cargo check # Download deps and verify build
cd ui
pnpm install
cd ..
cargo tauri devExpected: Window opens with database viewer showing sample data.
winget install Python.Python.3.12Verify:
python --version # Should show 3.12.x
pip --versionirm https://astral.sh/uv/install.ps1 | iexVerify:
uv --versioncd py_qt6
uv sync
uv run python -m src.mainBuild binario (dist em build\windows-):
uv run pyinstaller --onefile --windowed --distpath build\windows-$env:PROCESSOR_ARCHITECTURE src\main.pyAlternative sem uv:
cd py_qt6
python -m venv venv
.\venv\Scripts\activate
pip install .
python -m src.mainExpected: Qt window opens with database viewer showing sample data.
All implementations look for database at:
data/sample.duckdb
$env:MDB2SQL_DB_PATH="C:\path\to\your\database.duckdb"# Assuming you have a converted DuckDB file
copy path\to\sample.duckdb data\sample.duckdbFix: Add %USERPROFILE%\go\bin to PATH (see Wails install section)
Fix: Install Visual Studio Build Tools with C++ workload
Fix: Run uv sync (ou pip install . se não usar uv)
Fix: Install WebView2 Runtime (see Wails section)
Fix: Only occurs during build, not dev. Ignore for development.
cd go_wails_react
go test ./...cd rust_tauri_svelte
cargo testcd py_qt6
uv run pytest # If tests implementedcd go_wails_react
wails build
# Output: build/bin/mdb2sql.execd rust_tauri_svelte
cargo tauri build
# Output: target/release/bundle/nsis/mdb2sql_0.1.0_x64-setup.execd py_qt6
uv add --dev pyinstaller
uv run pyinstaller --onefile --windowed src/main.py
# Output: dist/main.exe- Start implementation in dev mode
- Make code changes
- Hot reload updates UI automatically
- Check console for errors
- Test with sample database
Dev Mode Commands:
# Go/Wails
cd go_wails_react && wails dev
# Rust/Tauri
cd rust_tauri_svelte && cargo tauri dev
# Python/PyQt6
cd py_qt6 && uv run python -m src.main- WebView2 is built-in (Edge-based)
- Windows Defender may scan first build (slow)
- PowerShell 7 recommended over PowerShell 5.1
- WSL2 not required but useful for cross-platform testing
- Path separators: Use
\or/(both work in PowerShell)
Setup finalizado. Prosseguir para a stack desejada conforme os guias.