fixed filepaths and removed all cmake files
This commit is contained in:
@@ -44,7 +44,9 @@ sudo apt install qt6-base-dev libqt6sql6-sqlite cmake
|
||||
|
||||
## Database Requirements
|
||||
|
||||
The application expects a SQLite database file at `/home/master/screenshot_ocr.db` with the following schema:
|
||||
The application stores its SQLite database at `~/.local/share/screenshot-gallery/screenshot_ocr.db` (following the XDG Base Directory Specification). The directory and an empty database are created automatically on first run if they do not exist. The path can be changed via the Settings dialog.
|
||||
|
||||
The required schema is:
|
||||
|
||||
```sql
|
||||
CREATE TABLE ocr_results (
|
||||
@@ -174,9 +176,9 @@ This application combines multiple performance-enhancing technologies:
|
||||
### Database Connection Issues
|
||||
|
||||
If the application cannot connect to the database:
|
||||
- Ensure the database file exists at the expected location (`/home/master/screenshot_ocr.db`)
|
||||
- Check file permissions
|
||||
- Verify the database has the required schema
|
||||
- The default location is `~/.local/share/screenshot-gallery/screenshot_ocr.db`
|
||||
- Check file permissions on the database file and its parent directory
|
||||
- Verify the database has the required schema (the app will create an empty one automatically)
|
||||
|
||||
### Missing Images
|
||||
|
||||
|
||||
Reference in New Issue
Block a user