-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTES
43 lines (35 loc) · 1.55 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
* User profile view -> change email or account num
** On email or account change -> send email to [email protected]
* translations
* Default use: load some tranlation files and LANG system env turns out to be the language to be shown
* We will have language switch control -> change language dynamically
* installTranslator() will create a change event which will be sent to every single widget
* Run with debug option
```
QT_DEBUG_PLUGINS=1 ./dist/penyamanager 2>&1 | grep -i mysql
```
* Building MYSQL drive (Ubuntu 20.04)
https://doc.qt.io/qt-5.15/sql-driver.html
```
sudo apt install libmysqlclient-dev
cd /home/eguzki/Qt/5.15.2/Src/qtbase/src/plugins/sqldrivers
~/Qt/5.15.2/gcc_64/bin/qmake -- MYSQL_INCDIR=/usr/include/mysql MYSQL_LIBDIR=/usr/lib/x86_64-linux-gnu
make
make install
```
* Inactivity timeout
* In login pages is disabled, blocking dialogs can be used
* When logged in, non-blocking dialogs must be used, otherwise on inactivity timeouts, unexpected dialogs can be shown on login page, or even be switched to some view without being logged in
* Compute SQL Delta
Open MySQL Workbench
Click File -> New Model
Click Database -> Synchronize With Any Source
Click Next
Select a SQL Dump File as Source (this is the new structure)
Select a SQL Dump File as Destination (this is the old structure)
At Send Updates To select a Folder and Filename where the ALTER Script will be placed.
Click Next
Click Next
Make sure default_schema is checked and Click Next
Click Next
Preview your SQL Code and Click Next