原创 jni.h: no such file or directory
You have to add the JDK path to the include path, so the compiler knows the location of the file. Windows: /I "$(JAV
原创 如何從 GRUB rescue 恢復 Win7,win7 USB恢復盤製作
修復系統Mbr 原本使用系統恢復光盤進行恢復即可。 NND,OEM的win7,創建的光盤,引導後運行一個PC廠家的自制程序,沒解決問題。 依照如下鏈接的步驟進行修復 http://askubuntu.com/questions/
原创 tips: Qt5 call android static function
1. ?.pro file add: QT += qml quick androidextras ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources OTHER_F
原创 渣打科營 Mini Code Marathon
代碼如下,據說格式錯誤,nnd #include <stdio.h>#include <string.h>#include <stdlib.h> typedef struct MatrixListNode_stru{ int n; in
原创 bk -gstreamer1.0 install
ubuntu 14.04 默認是 gstreamer0.1, apt 安裝的是1.2.x 本次安裝最新版本 1.uninstall gstreamer1.0 2. download source code 3.install 4.
原创 Linux環境變量的設置和查看方法
http://soft.chinabyte.com/os/169/11412169.shtml 1. 顯示環境變量HOME $ echo $HOME /home/redbooks 2. 設置一個新的環境變量hell
原创 toshiba CB30 to development machine(qt+android)
1.激活 1次 chromebook, ssh+socket 2.應用商店下載 recovery tool,按照說明 備份系統 3.拆後蓋,升級ssd 從16g到256G, 650大洋 4.恢復系統 5.激活 2次 6.打開 develo
原创 apt-get常用命令
apt-get常用命令 一,什麼的是apt-get 高級包裝工具(英語:Advanced Packaging Tools,簡稱:APT)是Debian及其衍生髮行版(如:ubuntu)的軟件包管理器。APT可以自動下載,配置,安裝二進制
原创 sqlite3 compile error
sqlite3.o: In function `unixDlOpen': /home/Project-libMHP/v3 .3/example/build-minimizedDemo_ConsolePureC-Desktop_Qt_5_3
原创 Qt5:Qt中屏幕或窗口截圖功能的實現
QScreen方法 1 //功能同樣是截屏 , 注:QScreen的構造函數是私有的 2 QScreen *screen = QGuiApplication::primaryScreen(); 3 screen->grabWindow
原创 Qt5 Qml import folder and qrc problem
we can import folder in qml like: import "subFolder" as myCompoment but when we put the root qml in a qrc, and set the
原创 others
pthread https://computing.llnl.gov/tutorials/pthreads/ http://www.cs.kent.edu/~ruttan/sysprog/lectures/multi-thread/mul
原创 ubuntu change swappiness
swappiness Ubuntu Feisty默認的vm.swappiness值是60,這一默認值已經很合適了。但你可以改小一些降低swap的加載,系統性能會有一點點的提升 輸入: 代碼: sy
原创 Ubuntu Linux: Uninstall / Remove Any Installed Software
Command Line Package Management Tool apt-get is the command-line tool for handling packages. It is used for adding /
原创 Write database open in memory to disk (SQLite)
Question: I am working with SQLite databases in memory (it is faster to work this way), but I need to save the database