Déan comparáid idir tiomáintí
3 Tiomáintí
v0.3
...
759d2a7924
Údar | SHA1 | Dáta | |
---|---|---|---|
759d2a7924 | |||
a820183477 | |||
8c5825439a |
11
README.md
11
README.md
@ -78,6 +78,17 @@ qmake
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Void
|
||||||
|
```
|
||||||
|
# as root
|
||||||
|
xbps-install qt5-devel poppler-qt5-devel quazip-qt5-devel uchardet-devel gcc make
|
||||||
|
# as user
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
qmake
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
The GUI is located in `gui/looqs-gui`, the binary for the CLI is in `cli/looqs`
|
The GUI is located in `gui/looqs-gui`, the binary for the CLI is in `cli/looqs`
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
|
10
USAGE.md
10
USAGE.md
@ -20,15 +20,12 @@ To give you some idea: At the time this section was written, 167874 files were i
|
|||||||
has changed.
|
has changed.
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
The config file is in `$HOME/.config/quitesimple.org/looqs.conf`. It will be created on first execution of the CLI or GUI
|
The config file is in `$HOME/.config/quitesimple.org/looqs.conf`. It will be created on first execution of the CLI or GUI interface. Generally, you should not edit this file directly. Instead, use the "Settings" tab in the GUI.
|
||||||
interface. The GUI has a menu entry to quickly open this config file. This is to be considered temporary and will be removed once the GUI itself can edit all settings.
|
|
||||||
|
|
||||||
Database default path: `$HOME/.local/share/quitesimple.org/looqs/looqs.sqlite`. If this does not work for
|
Database default path: `$HOME/.local/share/quitesimple.org/looqs/looqs.sqlite`. If you prefer a different path, move it and adjust the path.
|
||||||
you, move it and adjust adjust the path in the config file.
|
|
||||||
|
|
||||||
|
|
||||||
## GUI
|
## GUI
|
||||||
The GUI is minimal at this point. Depending on what you want to do, you may need to open the config file and change the settings there. Chances are that you may not need to do that.
|
|
||||||
|
|
||||||
### First run
|
### First run
|
||||||
You will be presented with an empty list. Go to the **"Index"** tab, add some directories and click **"Start indexing"**.
|
You will be presented with an empty list. Go to the **"Index"** tab, add some directories and click **"Start indexing"**.
|
||||||
@ -47,8 +44,7 @@ see this document at the end. By default, both the full path and the content are
|
|||||||
### Configuring PDF viewer
|
### Configuring PDF viewer
|
||||||
It's most convenient if, when you click on a preview, the PDF reader opens the page you clicked. For that, looqs needs to know which viewer you want to launch.
|
It's most convenient if, when you click on a preview, the PDF reader opens the page you clicked. For that, looqs needs to know which viewer you want to launch.
|
||||||
|
|
||||||
It tries to auto detect some common viewers. You must set the value of the ```pdfviewer=``` config entry yourself if it doesn't do something you
|
It tries to auto detect some common viewers. You must set the value in the "Settings" tab yourself if it doesn't do something you like, such as not opening your favorite viewer. In the command line options, "%f" represents the filepath, "%p" the page number.
|
||||||
like, such as not opening your favorite viewer. In the command line options, "%f" represents the filepath, "%p" the page number.
|
|
||||||
|
|
||||||
### Preview tab
|
### Preview tab
|
||||||
The preview tab shows previews. It marks your search keywords too. Click on a preview to open the file.
|
The preview tab shows previews. It marks your search keywords too. Click on a preview to open the file.
|
||||||
|
@ -37,6 +37,12 @@ else:unix: LIBS += -L$$OUT_PWD/../shared/ -lshared
|
|||||||
|
|
||||||
LIBS += -luchardet -lpoppler-qt5 -lquazip5
|
LIBS += -luchardet -lpoppler-qt5 -lquazip5
|
||||||
|
|
||||||
|
packagesExist(quazip1-qt5) {
|
||||||
|
PKGCONFIG += quazip1-qt5
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
LIBS -= -lquazip5
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../shared
|
INCLUDEPATH += $$PWD/../shared
|
||||||
DEPENDPATH += $$PWD/../shared
|
DEPENDPATH += $$PWD/../shared
|
||||||
|
|
||||||
|
10
gui/gui.pro
10
gui/gui.pro
@ -7,7 +7,11 @@
|
|||||||
QT += core concurrent gui network
|
QT += core concurrent gui network
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TARGET = looqs-gui
|
TARGET = looqs-gui
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
@ -69,6 +73,12 @@ else:unix: LIBS += -L$$OUT_PWD/../shared/ -lshared
|
|||||||
|
|
||||||
LIBS += -luchardet -lpoppler-qt5 -lquazip5
|
LIBS += -luchardet -lpoppler-qt5 -lquazip5
|
||||||
|
|
||||||
|
packagesExist(quazip1-qt5) {
|
||||||
|
PKGCONFIG += quazip1-qt5
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
LIBS -= -lquazip5
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../shared
|
INCLUDEPATH += $$PWD/../shared
|
||||||
DEPENDPATH += $$PWD/../shared
|
DEPENDPATH += $$PWD/../shared
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <quazip5/quazip.h>
|
#include <quazip.h>
|
||||||
#include <quazip5/quazipfile.h>
|
#include <quazipfile.h>
|
||||||
#include "odtprocessor.h"
|
#include "odtprocessor.h"
|
||||||
#include "tagstripperprocessor.h"
|
#include "tagstripperprocessor.h"
|
||||||
|
|
||||||
|
@ -16,7 +16,11 @@ CONFIG += c++17
|
|||||||
INCLUDEPATH += $$PWD/../sandbox/exile.h/
|
INCLUDEPATH += $$PWD/../sandbox/exile.h/
|
||||||
INCLUDEPATH += /usr/include/poppler/qt5/ /usr/include/quazip5
|
INCLUDEPATH += /usr/include/poppler/qt5/ /usr/include/quazip5
|
||||||
|
|
||||||
|
# Dirty, we only need the includes here but well this magic works, so...
|
||||||
|
packagesExist(quazip1-qt5) {
|
||||||
|
PKGCONFIG += quazip1-qt5
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
}
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
# any feature of Qt which has been marked as deprecated (the exact warnings
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
||||||
|
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir