Different keywords
1 2 3 | sqlite mysql AUTOINCREMENT AUTO_INCREMENT (datetime('now','localtime')) now() |
refer to:
https://doc.qt.io/qtforpython-6.2/overviews/sql-types.html
https://blog.csdn.net/zhangjianangyou/article/details/117018024
人,技术,生活。
Different keywords
1 2 3 | sqlite mysql AUTOINCREMENT AUTO_INCREMENT (datetime('now','localtime')) now() |
refer to:
https://doc.qt.io/qtforpython-6.2/overviews/sql-types.html
https://blog.csdn.net/zhangjianangyou/article/details/117018024
1 2 3 4 5 6 7 8 | class A1 { ~A1(); ... B1 m_b1; C1 m_c1; D1 m_d1; }; |
Through practice in gcc, I found the deletion order of class A1 is: ~A1(), m_d1, m_c1, m_b1, ...
Don't call QGridLayout::itemAtPosition.
Like this,
1 2 3 4 5 6 7 8 9 10 11 12 | for (int i = 0; i < grid_layout->count(); i++) { QLayoutItem* item = grid_layout->itemAt(i); if (item->widget() == widget_wanted) { int row, column, row_span, column_span; grid_layout->getItemPosition(i, &row, &column, &row_span, &column_span); // grid_layout->addWidget(frame, row, column); } } |
1 | target_link_libraries(exeProj1 dl) |
1 | this@MainActivity |
1 | export FONTCONFIG_PATH=/etc/fonts |
refer to:
https://askubuntu.com/questions/492033/fontconfig-error-cannot-load-default-config-file
1 2 3 4 | ./configure --prefix=`pwd`/installed --with-python=/usr/bin/python3 make -j 16 make install cp -Rf /usr/share/gdb/auto-load `pwd`/installed/share/gdb/ |
1 2 3 4 5 | sudo apt install tigervnc-common sudo apt install tigervnc-standalone-server #vncpasswd vncserver -localhost no -geometry 1280x720 :1 vncserver -list |
Authentication required?
Empty ~/.vnc/passwd and
1 2 | #/etc/xdg/autostart$ sudo vi org.gnome.SettingsDaemon.Color.desktop X-GNOME-Autostart-enabled=false |
then reboot the server.
refer to:
https://blog.csdn.net/Naisu_kun/article/details/123007055
1 | sudo apt install cpupower-gui |
Don't use "-fsanitize=address", use "-fsanitize=leak" instead.